IS_NOT_IN_DB(db(db.table.field1==request.field1),'table.field2') Massimo
On Jan 6, 5:28 am, annet <[email protected]> wrote: > Massimo, > > In my case enforcing a multi column unique constraint at web2py level > will do. > > What does the IS_NOT_IN_DB statement look like for a two column unique > constraint? > > Best regards, > > Annet. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

