Re: SQLObject 1.2.0b1

Oleg Broytman <[email protected]>
Newsgroups gmane.comp.python.sqlobject
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.