
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...

I don't know about hsql, but I have some patches that add parametes to
haskelldb. I'd be glad to send them along but I couldn't offer much
support.
2008/2/24 Roman Cheplyaka
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...
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux)
iQCVAwUBR8JqsekvlFoOH4VnAQIhVQP/cBfmRm6DLF445fIDYL+RkQgsWhP0eo9I qhmx7o4Dy+pd+Q9l7ml8T16WNJHGJMI7rl45oA6pVITg3kJ6DZXksCTQ8fz8mFXi g/wqXafrjJEkYKqXgskRmLPS/ES5v92hiiG+HE0elJV2QwnzV/wdxNmfp3SuZhCw AIOjw9u/9+g= =GDuX -----END PGP SIGNATURE-----
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
participants (2)
-
Justin Bailey
-
Roman Cheplyaka