On Thu, Jul 31, 2003 at 02:53:28PM +0200, Luc Stepniewski wrote:
| But why does it work if I don't define the _idName attribute? Isn't there
| another problem with the use of that attribute which may not be accounted
| when looking for the primary key?
Hummm... it may be because when you set the attribute it uses a
SQLConstant, but thats only a wild guess. I haven't actually digged
the code.
| I've looked at Converters.py. I don't understand the way the information is
| identified. When I look at it, it seems the information is identified only by
| its basic types.
| I added an output of obj.__class__ in sqlRepr() in Converters.py to see the
| class name. The problem is that I get 'SQLObject.SQLBuilder.SQLConstant'.
| What am I supposed to do this it?
| SQLObject don't seem to support Bool postgreSQL type, so I looked at what was
| returned by sqlRepr() when trying to interpret Bool keyword: it returns the
| same thing: SQLObject.SQLBuilder.SQLConstant
Thanks for tracking it. I registered a converter for SQLConstant and
a few more friends and added tests.
[]'s
--
Sidnei da Silva <si...@pl...>
dreamcatching :: making your dreams come true
http://dreamcatcher.homeunix.org
A programming language is low level when its programs require attention
to the irrelevant.
|