Skip to content

how to change the active database #9968

Answered by ncclementi
djouallah asked this question in Q&A
Discussion options

You must be logged in to vote

You can use

con.create_view("awards", t, database="new")

it'll still show in con.list_tables(database="new") because at the moment it list everything, tables and views. There is a PR in the works to separate the listing of views vs tables though.

Replies: 7 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by djouallah
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants