Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to specify the tables to be used when generating a query? #446

Closed
zhanpengjie opened this issue Apr 1, 2024 · 1 comment
Closed

Comments

@zhanpengjie
Copy link

I have many tables in my database, and I would like to be able to specify the tables that can be used in a query, while also improving query accuracy

@Harshitdy
Copy link

Hello @zhanpengjie, As far I know you can sync you tables using api/v1/table-descriptions/sync-schemas endpoint and you can specify your tables like

{
  "db_connection_id": "660aab39fd8c1351d3b4b2c4",
  "table_names": [
    "table1", "table2",......
  ],
  "metadata": {}
}

@jcjc712 jcjc712 closed this as completed Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants