I am testing MotherDucks alpha and was thinking it would be nice to have a Token field to add the token to the connection and also a motherduck specific URI string. This is my attempt at adding this in, embarrassingly I don't know how to build a provider locally so I don't know how to test this 😅
I have tested the connection strings in a script:
duckdb.connect("motherduck:?token={MOTHERDUCK_TOKEN}") this connects to the MotherDuck default db
duckdb.connect("motherduck:my_named_db?token={MOTHERDUCK_TOKEN}" this connects to my_named_db
duckdb.connect("") uses an in memory db
duckdb.connect("hello") creates/uses a db called hello in the working dir
Hi
I am testing MotherDucks alpha and was thinking it would be nice to have a Token field to add the token to the connection and also a motherduck specific URI string. This is my attempt at adding this in, embarrassingly I don't know how to build a provider locally so I don't know how to test this 😅
I have tested the connection strings in a script:
duckdb.connect("motherduck:?token={MOTHERDUCK_TOKEN}")
this connects to the MotherDuck default dbduckdb.connect("motherduck:my_named_db?token={MOTHERDUCK_TOKEN}"
this connects tomy_named_db
duckdb.connect("")
uses an in memory dbduckdb.connect("hello")
creates/uses a db called hello in the working dir