Update: this works however if I don't delete the _extra field, but then
newName is not available!
Le lundi 12 novembre 2012 09:24:12 UTC+1, dederocks a écrit :
>
> NB : however, the standard function doesn' work anymore (e.g. without the
> '.json' extension). I get a invalid function (default/ha
NB : however, the standard function doesn' work anymore (e.g. without the
'.json' extension). I get a invalid function (default/handle_error). Why?
Le lundi 12 novembre 2012 09:19:50 UTC+1, dederocks a écrit :
>
> This is great, thank you! And I don't know why but this is great too, the
> update
This is great, thank you! And I don't know why but this is great too, the
update applies *directly* to the data object (I therefore don't have to
create a new one).
Le jeudi 8 novembre 2012 19:27:29 UTC+1, Massimo Di Pierro a écrit :
>
> You can try this. Yet I found some problem as data.json()
You can try this. Yet I found some problem as data.json() does not behave
well as json(data) while they should be the same.
from gluon.serializers import json
db =DAL()
db.define_table('test',Field('name'),Field('firstname'))
db.test.insert(name='Test',firstname='Test')
count = db.test.id.count(
4 matches
Mail list logo