Good to have a new alternative syntax, though I doubt it is not
powerful enough for some serious app which need to do many things for
a SQLField(...), such as:
SQLField('name',
requires=IS_NOT_EMPTY(),
label='User Name', comment='blah', # needed by many t2 functions
writable=False,
...)
On Apr13, 2:16pm, mdipierro <[email protected]> wrote:
> In trunk you can now do
>
> db.define_table('person : Name, Birthday date, Telephone')
> db.define_table('dog: Name, Owner person, Picture upload')
>
> Is this useful? Look at the source. Is the syntax reasonable?
>
> Massimo
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---