In the section "Other methods"/update_or_insert:
The selection criteria in the exmaple above is a single field. It can
also be a query, such as
|db.person.update_or_insert((db.person.name=='John') &
(db.person.birthplace=='Chicago')),
name='John',birthplace='Chicago',pet='Rover')
|
|T
I think I've just found a typo in the official book. Page
http://web2py.com/books/default/chapter/29/3
In a grey box there is this sentence
If an extension other than "html" is specified ("json" for example),
and the view file "[controller]/[function].json" is not found, web2py
looks for the vie
First sentence of the last paragraph in the preface. 'raked' should be
'ranked'.
-Jim
3 matches
Mail list logo