Unexpected panic/error. Am I doing something wrong? #177
Unanswered
scripturial
asked this question in
Q&A
Replies: 1 comment 2 replies
-
I am poking around example code and found this other code that calls insert slightly differently, this is different to what is in the main readme for the repo:
Is this the old way to do it? Or is the README the old way to do it? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am working through the example code trying to make my own test zig file to create/update a table. The create database works, and update works, but this "insert" function causes a bus error. I am at a loss to work out why. It certainly could be something I am doing wrong, but I am beginning to suspect it's not me. Is this the right way to do an insert?
If I comment out the
i.exec()
request it doesnt panic.If I pass in the name parameter it panics like this:
Beta Was this translation helpful? Give feedback.
All reactions