I have a MSSQL database with a 4 column primary key:
dbcomercial.define_table('libros',
Field('bloque',writable=False),
Field('grupo',writable=False),
Field('sector',writable=False),
Field('libro',writable=False),
Field('estatus'),
Field('id_movil'),
primarykey=['bloque','grupo','sector','libro'],
migrate=False
)
This gives me an error: 'Table' object has no attribute '_id'.
If I only specity on column in primarykey, I get no error, but can't do any
updates.
Using w2p 2.4.5
--
---
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.