I'm not sure, but if you change the declaration as follows you can see
if it's the RDBMS or some bug in your code somewhere:

class stuff(SQLObject):
    status = IntCol(dbName="the_status")

That will force sqlobject to use "the_status" as the column name in
the database schema rather than the default "status".

However, resetting it to 0 is not indicative of a keyword clash...  I
could be wrong though.

Lee

On 6/9/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> the value of "status" in my sql table seems to keep automatically
> resetting to 0, but none of the other vars do that.
>
> here is my structure:
>
> class stuff(SQLObject):
> status = IntCol()
> more stuff...
>
>
> >
>


-- 
Lee McFadden

blog: http://www.splee.co.uk
work: http://fireflisystems.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to