-
Notifications
You must be signed in to change notification settings - Fork 15
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
Add insert example to docs #18
Comments
Could be good! What are you aiming to demonstrate? |
Mostly just that you don't have to do anything weird like "returning *" to satisfying the |
Maybe we ought to recommend Alternatively an API like Pog could be adopted |
True that's probably less likely to be confused! I wasn't going to say anything since it's a big item, but I do think an API like pog would be nicer overall 😅 |
Sounds good to me! |
Hello! From experience, inserting into SQLite databases has been a common hurdle for people new to Gleam (for the people that are using SQLite of course). What do you think of updating the docs somewhere to show an example of running an insert statement with a
sqlight.query
call?Maybe something like this, moving one part of the data into a separate insert statement?
The text was updated successfully, but these errors were encountered: