[Cubicweb] Proposal: new method ResultSet.one()
denis.laxalde at logilab.fr
Wed Dec 4 16:50:55 CET 2013
Christophe de Vienne a écrit :
> I propose to add a new method to ResultSet, named one(), that would
> return exactly one entity from the resultset.
> If more than one row and one column, or no row at all is found, an
> exception would be raised.
Request's find_one_entity method does something like that, even though
you don't write RQL.
More information about the Cubicweb