IS_NOT_IN_DB(db(db.table.field1==request.field1),'table.field2') Massimo
On Jan 6, 5:28 am, annet <jmverm...@planet.nl> 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 web2py@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 -~----------~----~----~----~------~----~------~--~---