yep,
add requires=IS_NOT_IN_DB(db,db.some_table.field1)
in the SQField(....) statement as an argument

On Sat, Jun 6, 2009 at 9:17 PM, vihang<vihan...@gmail.com> wrote:
>
> Very interesting mod.
>
> @Massimo, as mentioned about the requires statement, is there a way to
> address the following directly in the field definition?
>
> db.some_table.field1.requires = IS_NOT_IN_DB(db,db.some_table.field1)
>
> On Jun 6, 7:51 pm, mdipierro <mdipie...@cs.depaul.edu> wrote:
>> I think it is a great idea.
>> ,
>> Anyway, I would like to remind people the following web2py command
>> line option
>>   -F PROFILER_FILENAME, --profiler=PROFILER_FILENAME
>>                         profiler filename
>>
>> Massimo
>>
>> On Jun 6, 10:17 am, DenesL <denes1...@yahoo.ca> wrote:
>>
>>
>>
>>
>>
>> > Very interesting.
>> > How about creating a test case app that people could run to report
>> > performance results on different platforms and CPUs?.
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to