#2 Parametrized queries

open
Oleg Broytman
None
5
2005-10-23
2004-11-22
Oleg Broytman
No

Ian, why use sqlStringReplace and _[lL]ikeQuoted? Why
not import and use quoting/escaping functions from
low-level DB API modules? At least where they are
avalable at all...

Why not import DB API exceptions from those modules and
reexport them as SQLObject exceptions?

Discussion

  • Oleg Broytman
    Oleg Broytman
    2004-11-22

    Logged In: YES
    user_id=4799

    Or use format/pyformat/etc paramstyle from DB API 2.

     
  • Oleg Broytman
    Oleg Broytman
    2005-10-23

    Logged In: YES
    user_id=4799

    The work is going on in the branch:
    svn://colorstudy.com/home/phd/SQLObject/paramstyles

     
  • Oleg Broytman
    Oleg Broytman
    2005-10-23

    • assigned_to: nobody --> phd
    • summary: DB API --> Parametrized queries