Re: [SQLObject] Custom primary key

2017-02-05 Thread janemba
On 02/05/2017 01:01 PM, Oleg Broytman wrote: > Hi! Welcome! > >SQLObject requires that tables have single PRIMARY KEY columns, not > necessary integer (strings are ok) and not necessary named 'id'. But the > PRIMARY KEY must be single column, and SQLObject always refers to the > column as '.id'

Re: [SQLObject] Custom primary key

2017-02-05 Thread Oleg Broytman
Hi! Welcome! On Sun, Feb 05, 2017 at 11:54:50AM +0100, janemba wrote: > Hi, > > I'm new SQLObject and I'm reading multiple documentations. I noticed > that primary key is implicitly created by SQLObject by using "id" > column. However, I want to use a custom one with a different name (my > colum