On Sat, Nov 05, 2011 at 06:52:03PM +0400, Oleg Broytman wrote:
> * ForeignKey('Table', refColumn='refcol_id') to allow ForeignKey to
> point to a non-id column; the referred column must be a unique integer
> column.
Consider this as an experimental feature. Use with care and test
thoroughly. Please note - MultipleJoin still uses `id` column.
> * Quoting rules changed for PostgreSQL: SQLObject uses E'' escape string
> if the string contains characters escaped with backslash.
Take care if you have your own objects that implement __sqlrepr__ -
if you have code like sqlrepr(obj)[1:-1] to remove quotes - it should be
written now as unqoute_str(sqlrepr(obj)). Code like "'%s'" % str should
be now quote_str(str).
Oleg.
--
Oleg Broytman http://phdru.name/ [email protected]
Programmers don't die, they just GOSUB without RETURN.
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
sqlobject-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss