| Though I respect and applaud the effort that went into creating this and successfully releasing it, It has fewer features than duckdb supports at the moment. Duckdb supports both Postgres, Mysql, SQLite and many other extensions. Postgres: https://duckdb.org/docs/extensions/postgres MySQL: https://duckdb.org/docs/extensions/mysql SQLite: https://duckdb.org/docs/extensions/sqlite You can try this yourself. 1. Clone this repo and create a postgres container with sample data: https://github.com/TemaDobryyR/simple-postgres-container 2. Install duckdb if you haven't and if you have just access it on the console: https://duckdb.org/docs/installation/index?version=stable&en... 3. Load the postgres extension: INSTALL postgres;LOAD postgres; 4. Connect to the postgres database: ATTACH 'dbname=postgres user=postgres host=127.0.0.1 password=postgres' AS db (TYPE POSTGRES, READ_ONLY); 5. SHOW ALL TABLES; 6. select * from db.public.transactions limit 10; Trying to access SQL data without using SQL only gets you so far and you can just use basic sql interface for that. |
https://duckdb.org/docs/api/cli/