On Jul 10, 2:33 am, rb <rbspg...@gmail.com> wrote: > Currently I'm using SQLite for the db although later I might switch to > postgres. I'm trying to understand how best to create my tables (eg. > how to specify a UNIQUE constraint over two or three fields for my > primary key?). Oh gosh, I shouldn't post my questions here.
Here is an example of a custom multi-table IS_IN_DB(): http://groups.google.com/group/web2py/browse_thread/thread/cae53d68c91938c5 You want one for IS_NOT_IN_DB() Original is in gluon/validators.py F --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---