the new DAL is not here yet but we been to write new docs that should
be compatible with both the old DAL and the new DAL. So the web2py in
trunk allows
db=DAL(...)
instead of
db=SQLDB(...)
and
db=DAL('gae')
instead of
db=GQLDB()
and
Field(...)
instead of
SQLField(...)
is also removes the ambiguity between the sql.SQLField and
gql.SQLField.
Both the old and new notation will be supported by the new DAL but the
new documentation should encourage the new documentation.
For now DAL() is a function, in the new DAL is will be a class
instead. In the new DAL, SQLDB will be an alias for DAL() and SQLField
for Field.
I need help rewrite the examples in the "examples" app to use the old
notation instead of the old notation.
Can you send me a patch?
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
-~----------~----~----~----~------~----~------~--~---