See https://groups.google.com/d/msg/web2py/CRPySzABQTk/8jylUabyFTQJ.
Anthony
On Thursday, March 28, 2013 9:22:33 AM UTC-4, frasse wrote:
>
> Hi
> I like to make unique of 2 Field in my table.
> in this example I want myId + myThing be unique . How can I do this ?
>
> db.define_table('myproperty',Field('myId', 'integer'),
> Field('myThing', 'integer'),
> Field('prize', 'double'),
> Field('quantity', 'integer'),
> Field('isInMarket', 'boolean', default = False ))
>
> Thanks
> /F
>
--
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.