haskell - How to execute INSERT prepared statement using sqlite-simple? -
sqlite-simple able create prepared statements, cannot figure out how use them instructions not return results. is:
main = db <- open "test.db" let = 1 let b = 2 withstatement db "insert test values (?, ?)" $ \stmt -> bind stmt (a, b) ??? reset stmt
the 1 api "fits" in ???
nextrow
requires data returned. so, how prepared statements return no results supposed used?
Comments
Post a Comment