[Cubicweb] commit and rollback on rqlcontroller

Nicolas Chauvat nicolas.chauvat at logilab.fr
Fri Jun 13 13:31:32 CEST 2014


Hi Jinpeng,

On Fri, Jun 13, 2014 at 12:18:52PM +0200, Jinpeng Li wrote:
> It is better to make rqlcontroller like [...]

Each call to rqlcontroller ends with a commit, but as you know, you
can put several RQL queries in one call.

The current implementation of rqlcontroller does not provide the
equivalent of a transaction that could be created, used to call
rqlcontroller several times, then commited or rollbacked.

Is this what your or asking for?

-- 
Nicolas Chauvat

logilab.fr - services en informatique scientifique et gestion de connaissances  


More information about the Cubicweb mailing list