issue opened: http://code.google.com/p/web2py/issues/detail?id=1637
the book is telling that primarykey is for legacy databases and what i understood is that it's mostly preferred to use a combination of IS_NOT_IN_DB than using primarykey what i am trying to achieve is here: http://ondras.zarovi.cz/sql/demo/ (load from server: name "myfirstproject2") On Monday, August 19, 2013 4:58:06 AM UTC+3, Massimo Di Pierro wrote: > > Please open a ticket about this. > > On Sunday, 18 August 2013 15:11:45 UTC-5, Antonis Konstantinos Tzorvas > wrote: >> >> http://paste.kde.org/p6938ac83/55437137/ >> >> trying to use primarykey=['station_id', 'source'] in db.stations_sources >> i was always getting the 'no _id error' when trying to apply a "proper" >> db.data.source.requires=IS_IN_DB(db, 'stations_soruces.station_id', >> 'stations_sources.source') >> >> is there any way to achieve this by using primarykey=['station_id', >> 'source'] in db.stations_sources instead substituting line 24? >> or is it better to use it as is right now? >> > -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

