tursodatabase / libsql-client-go

Go client API for libSQL
MIT License
159 stars 23 forks source link

allow explain statements to proceed with unbound params #112

Closed glommer closed 3 months ago

glommer commented 3 months ago

EXPLAIN SELECT * from foo where bar = ? is a valid statement, since EXPLAIN never executes the query.

With a properly patched sqld, this is already valid when using the http API and bun (haven't tried rust), but the go driver is doing its own bind checking here.