-
Notifications
You must be signed in to change notification settings - Fork 24
Closed
Description
Prework
- [ x ] Read and abide by the Pointblank code of conduct and contributing guidelines.
- [ x ] Search for duplicates among the existing issues (both open and closed).
Proposal
Describe the new feature clearly and concisely. If applicable, write a minimal example in Python or in pseudo-code to show input, usage, and desired output
To help us read any code you include (optional) please try to follow the Style Guide for Python Code.
I'd enjoy a method to that would print or iterate through the tables available in the database under the default schema. The only issues that I see are that Ibis doesn't use the same style of URI that pointblank does.
import ibis
from pathlib import Path
ibis.options.interactive = True
def print_available_tables():
path_to_database = "Path_object_or_path_to_database_here"
conn = ibis.duckdb.connect(path_to_database)
return conn.list_tables()