Re: [SQLObject] table ralations

2009-01-10 Thread Oleg Broytmann
On Wed, Jan 07, 2009 at 09:40:43AM +0100, Zoran Bo??njak wrote: > # create dumb connection > # it should not work, because there is no blocks!!! > Connection(src=150, dst=250) Under PostgreSQL this raises proper InegrityError, so you are right - SQLite doesn't enforce constraints. Oleg. --

Re: [SQLObject] table ralations

2009-01-07 Thread Zoran Bošnjak
reate such connection. Zoran From: petr.jakes@gmail.com [mailto:petr.jakes@gmail.com] On Behalf Of Petr Jakeš Sent: Wednesday, January 07, 2009 9:51 AM To: Zoran Bošnjak Cc: sqlobject-discuss@lists.sourceforge.net Subject: Re: [SQLObject] table ralations # create dumb conn

Re: [SQLObject] table ralations

2009-01-07 Thread Petr Jakeš
> > # create dumb connection > # it should not work, because there is no blocks!!! > Connection(src=150, dst=250) Why do you think this should not work? AFIK above mentioned just insert one row (record) in your table Connection. Exactly as the SQL below describes. > > INSERT INTO "connection" VA