[Haskell-cafe] placeholders in hsql

Justin Bailey jgbailey at gmail.com
Mon Feb 25 11:46:00 EST 2008


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 <roma at ro-che.info>:
> 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 at haskell.org
>  http://www.haskell.org/mailman/listinfo/haskell-cafe
>
>


More information about the Haskell-Cafe mailing list