[Haskell-cafe] placeholders in hsql

Roman Cheplyaka roma at ro-che.info
Mon Feb 25 02:13:53 EST 2008


Is there an ability to use placeholders in SQL statement using hsql?
(Actually I'm interested in SQLite.)

E.g. "INSERT INTO sales (product_code, qty, price) VALUES (?, ?, ?)"
and then supply values that will be escaped and inserted in place of
each '?'.

-- 
Roman I. Cheplyaka :: http://ro-che.info/
...being in love is totally punk rock...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: Digital signature
Url : http://www.haskell.org/pipermail/haskell-cafe/attachments/20080225/f2012e63/attachment.bin


More information about the Haskell-Cafe mailing list