libsql-client-go
libsql-client-go copied to clipboard
Unsupported Positional Parameters
Hey guys,
I'm getting the following error when trying to query something with positional parameters:
error: unsuppoted positional parameter. This driver does not accept positional parameters with indexes (like ?<number>)"
With the (libsql-cgo)[https://github.com/libsql/go-libsql] client the query works without any problems (but the client has other problems lol)
Example query:
SELECT * FROM example
WHERE example_id = coalesce(?1, example_id) or swag_id = coalesce(?2, swag_id)