Re: [SQLObject] Quoting reserved column names...

2009-06-24 Thread Dan Pascu
On 22 Jun 2009, at 17:20, Oleg Broytmann wrote: > On Thu, Jun 11, 2009 at 11:50:09AM +0300, Dan Pascu wrote: >> On 11 Jun 2009, at 11:23, jonhattan wrote: >>> Sam's Lists escribi?: Is there a way to force SQLObject to quote it properly? >>> you can force the name of the column in the da

Re: [SQLObject] Quoting reserved column names...

2009-06-22 Thread Oleg Broytmann
On Thu, Jun 11, 2009 at 11:50:09AM +0300, Dan Pascu wrote: > On 11 Jun 2009, at 11:23, jonhattan wrote: > > Sam's Lists escribi?: > >> Is there a way to force SQLObject to quote it properly? > >> > > you can force the name of the column in the database this way: > > > > condition = StringCol(dbName

Re: [SQLObject] Quoting reserved column names...

2009-06-11 Thread Dan Pascu
On 11 Jun 2009, at 11:23, jonhattan wrote: > Sam's Lists escribió: >> So I keep humming along on this upgrade of someone else's code from >> old versions of SQLObject and Mysql to the current SQLObject and >> MySQL >> 5... >> >> The current problem is that I have a table with the column name >>

Re: [SQLObject] Quoting reserved column names...

2009-06-11 Thread jonhattan
Sam's Lists escribió: > So I keep humming along on this upgrade of someone else's code from > old versions of SQLObject and Mysql to the current SQLObject and MySQL > 5... > > The current problem is that I have a table with the column name > 'condition' which apparently is not a reserved word in

[SQLObject] Quoting reserved column names...

2009-06-10 Thread Sam's Lists
So I keep humming along on this upgrade of someone else's code from old versions of SQLObject and Mysql to the current SQLObject and MySQL 5... The current problem is that I have a table with the column name 'condition' which apparently is not a reserved word in MySQL 4.0 but is a reserved word in