jet
jet copied to clipboard
[feature] libSQLsupport (turso)
Is your feature request related to a problem? Please describe. I would like to be able to use turso (and libSQL) as the source for @go-jet.
Describe the solution you'd like I'm already using goose for migrations and they introduced turso support as a separate dialect. So either "turso" could be added to sources, or the dsn could accept remote paths for the sqlite such as "libsql://project.turso.io?authToken=AUTH-TOKEN"
Would this PR help: https://github.com/go-jet/jet/pull/443? You open db connection manually and then pass it to generator.
@go-jet - worked great so far. Thank you. Would be nice to not have to include it in code and just run it via cli but maybe you could consider this addition in the future. I'll try to add an entry to the docs outlining this functionality.