You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! I've been using libsql and I've run into this problem when asking for a entry in this database (written using atlas HCL) what happens is that every two requests I get a blank one, so that's one with data and one without using this query:
"select name, data from documents where hash = ? and user_id = ?;"
Now, this only happens when using prepared statements and not direct execution (in that case the data is retrieved correctly). I am using a local database.
Let me know if I can give you more details to debug this problem, have a wonderful day!
The text was updated successfully, but these errors were encountered:
sheosi
changed the title
Prepared statement in a specific database
Prepared statement in a specific database kinda fails
Nov 20, 2024
Hi! I've been using libsql and I've run into this problem when asking for a entry in this database (written using atlas HCL) what happens is that every two requests I get a blank one, so that's one with data and one without using this query:
"select name, data from documents where hash = ? and user_id = ?;"
Now, this only happens when using prepared statements and not direct execution (in that case the data is retrieved correctly). I am using a local database.
Let me know if I can give you more details to debug this problem, have a wonderful day!
The text was updated successfully, but these errors were encountered: