Oleg Broytmann wrote:
> On Mon, Mar 13, 2006 at 12:50:12PM +0100, Uwe Grauer wrote:
>> Is it possible to use something different than INT cols for Primary Keys?
>> If so, how to do that?
>
> It's possible to use strings:
>
> class MyTable(SQLObject):
> class sqlmeta:
> idType = str
>
> Oleg.
Only strings?
I'm planning to use something equivalent to DecimalCol(size=18,
precision=0).
I want to hide this into a user-defined column.
Regards,
Uwe
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
sqlobject-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss