dbrest-io / dbREST

Spin up a REST API for any Major Database
https://flarco.gitbook.io/dbrest
GNU General Public License v3.0
29 stars 2 forks source link

help running with Duckdb #5

Closed mapsgeek closed 8 months ago

mapsgeek commented 8 months ago

i installed on windows and on linux subsystem and trying to set connection to duckdb using the following

dbrest conns set DUCKDB type=duckdb instance=/path to duckdb local file

i get error

fatal:
~
~ could not unset duckdb
~ could not write env file
~ could not write YAML file
flarco commented 8 months ago

Ah, that's strange. I'll take a look. In the meantime, you can try using the env variables? Like, open powershell and do $env:DUCK='duckdb://C:/Temp/duck.db' For linux, it would be export DUCK='duckdb:///tmp/duck.db' Then dbrest conns list and dbrest conns test DUCK should work

flarco commented 8 months ago

Released https://github.com/dbrest-io/dbREST/releases/tag/v0.0.68. Should be good now!