#168 SQLObject does not quote table/column names

closed-wont-fix
nobody
General (125)
5
2006-09-07
2006-04-20
Anonymous
No

SQLObject should properly escape table and column names
to allow people to use reserved keywords as tables and
columns.

An example:

Bad: select order from group;
Good: select `order` from `group`;
Good: select `anything` from `whatever` where
`something`="foo"

My E-mail: rob@digital-crocus.com

Discussion

  • Oleg Broytman

    Oleg Broytman - 2006-09-07

    Logged In: YES
    user_id=4799

    Backticks are only used in MySQL. Other DBMSes use other -
    and all different - rules.

     
  • Oleg Broytman

    Oleg Broytman - 2006-09-07
    • status: open --> closed-wont-fix
     

Log in to post a comment.