IS_NOT_IN_DB validate a single field, not multiple fields together. I think is not possible to make a composite index in web2py.
Thanks anyway ionel On Jan 7, 11:22 pm, "Wes James" <[email protected]> wrote: > Look at IS_NOT_IN_DB > > -wj > > On Wed, Jan 7, 2009 at 9:01 PM, ionel <[email protected]> wrote: > > > Hello everybody, > > > I am writing an application for a personal library. But now I need to > > build a multiple field index because I don't want duplicate records > > in my database. Can I do this with web2py? > > > Thanks > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

