xo / usql

Universal command-line interface for SQL databases
MIT License
8.82k stars 346 forks source link

[QUESTION] - How to use this package as library in other golang package to get metadata information of table, schema? #402

Closed sujit-baniya closed 1 year ago

sujit-baniya commented 1 year ago

I wanted to get table columns along with their indices, foreign key and other information. Please suggest on how I could use this package as library to get metada information of table, schema.

kenshaw commented 1 year ago

@sujit-baniya Just import the package. Take a look at the actual source code to see how it's used.