sqlite-simpleは準備済みステートメントを作成できますが、結果を返さない命令でそれらを使用する方法がわかりません。あれは:
main = do
db <- open "test.db"
let a = 1
let b = 2
withStatement db "INSERT INTO test VALUES (?, ?)" $ \stmt -> do
bind stmt (a, b)
???
reset stmt
「適合」する 1 つの APIは、データを返す必要???
がある API です。nextRow
では、結果を返さないプリペアド ステートメントはどのように使用すればよいのでしょうか。