Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepared statement in a specific database kinda fails #1831

Open
sheosi opened this issue Nov 20, 2024 · 0 comments
Open

Prepared statement in a specific database kinda fails #1831

sheosi opened this issue Nov 20, 2024 · 0 comments

Comments

@sheosi
Copy link

sheosi commented 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!

@sheosi sheosi changed the title Prepared statement in a specific database Prepared statement in a specific database kinda fails Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant