Re: [SQLObject] ForeignKey and MultipleJoin on legacy (existing) database

2010-02-01 Thread Petr Jakeš
> > I am trying to connect via SQLObject to the existing database > >You didn't mention fromDatabase but I am sure that what you meant, > right? Because it's certainly possible to connect to an existing database > without it. > > > What I really can not figure out is how to get ForeignKey and >

Re: [SQLObject] ForeignKey and MultipleJoin on legacy (existing) database

2010-02-01 Thread Oleg Broytman
On Mon, Feb 01, 2010 at 08:40:48PM +0100, Petr Jake?? wrote: > I am trying to connect via SQLObject to the existing database You didn't mention fromDatabase but I am sure that what you meant, right? Because it's certainly possible to connect to an existing database without it. > What I really

[SQLObject] ForeignKey and MultipleJoin on legacy (existing) database

2010-02-01 Thread Petr Jakeš
Hi, I am trying to connect via SQLObject to the existing database (MySQL - Prestashop database) The database has different naming style than SQLObject expect. I know it is possible to use class sqlmeta: idName = 'id_order' to get primary key working properly. What I really can not figu