>Oops, seems like a bug. I think what caused the bug is using
> fromDatabase and idName simultaneously - SQLObject drew SystemName from the
> DB and added it because of the idName. To work around the bug avoid
> using fromDatabase - declare your columns explicitly.
Thanks for the explanation.
On Tue, Jul 22, 2008 at 08:48:46PM +0200, Luis Javier Peris wrote:
> When I do a select to a class hierarchy I obviously get a specific
> child-herarchy object. I would like to know what type of child is, I
> wouldn't want to use the *isinstance* method of python and I'm wondering how
> can I get t
Hi everyone,
When I do a select to a class hierarchy I obviously get a specific
child-herarchy object. I would like to know what type of child is, I
wouldn't want to use the *isinstance* method of python and I'm wondering how
can I get the value of childName column that is specified in the father
On Tue, Jul 22, 2008 at 07:25:38AM -0400, inhahe wrote:
> What if I want to modify the backend to SQLObject in some way?
> I want its requests to call my own custom function(s) that ultimately
> use the DBS.
>
> Basically I'm using stackless and I want my custom function to put the
> request in a
What if I want to modify the backend to SQLObject in some way?
I want its requests to call my own custom function(s) that ultimately
use the DBS.
Basically I'm using stackless and I want my custom function to put the
request in a queue that goes to a thread pool of database connections
to MySQL an
On Tue, Jul 22, 2008 at 02:06:06PM +0400, Oleg Broytmann wrote:
> > Maybe I can remove SystemName from the column list
>
>Columns are in SystemsInfo.sqlmeta object (see main.py), in .columns,
> .columnList, .columnDefinitions.
And there is SystemsInfo.sqlmeta.delColumn() call.
Oleg.
--
On Mon, Jul 21, 2008 at 05:31:24PM -0700, Ray Van Dolson wrote:
> class SystemsInfo(SQLObject):
> class sqlmeta:
> fromDatabase = True
> table = 'SystemsInfo'
> idType = str
> idName = 'SystemName'
> lazyUpdate = True
>
> So, my "id" key has been changed to SystemName. In th