well, a primary key is always a good thing in a table, but not everybody seems to use it, particularly in many to many tables.
while this is not in the web2py specifications( by not requiring a unique autoincremental id), being able to read and write form this tables, can be very very useful for legacy db support. I know that a something like crud cannot work in this tables since you are not guaranteed to select a single entry, but making it work at a lower level can be useful... On 5 Feb, 20:36, DenesL <denes1...@yahoo.ca> wrote: > I just tested on 1.74.9 with primarykey=[] and it allows it but I > would consider this a bug. > How would you insert/retrieve/... records without a key?. > Unless it has been changed to support it, this was not part of my > original code. > > On Feb 5, 1:12 pm, kralin <andrea.pierle...@gmail.com> wrote: > > > so if i have no primary key should i use an empty list? [] -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.