[Cubicweb] Proposal: new method ResultSet.one()
Christophe de Vienne
christophe at unlish.com
Wed Dec 11 18:49:54 CET 2013
Le 11/12/2013 18:46, Julien Cristau a écrit :
> On Mon, Dec 9, 2013 at 22:51:01 +0100, Christophe de Vienne wrote:
>> Le 09/12/2013 09:52, Denis Laxalde a écrit :
>>>> If you think it make sens I can add a find() function (with reverse_ !),
>>>> and reimplement find_entities and find_one_entity on top of it.
>>>> To be honnest I would even suggest to deprecate, at some point, the
>>>> usage of find_entities and find_one_entity, but one() thing at a time
>>> Not a bad idea, IMHO.
>> And here it is :
>> Thanks for the different feedback I had from the ml and the jabber chats.
>> The latest patch includes checking the existence of the relations before
>> executing the query.
> Both patches merged for 3.18.0, thanks!
Should I add entries to doc/3.18.rst ?
More information about the Cubicweb