# HG changeset patch # User Christophe de Vienne # Date 1386861445 -3600 # Node ID ac066148656825e6087f8339d5d2be166e267c26 # Parent 6d97e80b2e97c5bb3c9379c54f4ec593c955557e [release notes] Documents one() and find() addition diff -r 6d97e80b2e97 -r ac0661486568 doc/3.18.rst --- a/doc/3.18.rst Tue Jan 07 16:39:32 2014 +0100 +++ b/doc/3.18.rst Thu Dec 12 16:17:25 2013 +0100 @@ -13,6 +13,12 @@ * the primary view display controller (uicfg) now has a `set_fields_order` method similar to the one available for forms +* new method `ResultSet.one(col=0)` to retrive a single entity and enforce the + result has only one row (see `#3352314 https://www.cubicweb.org/ticket/3352314`_) + +* new method `RequestSessionBase.find` to look for entities + (see `#3361290 https://www.cubicweb.org/ticket/3361290`_) + API changes ----------- @@ -45,6 +51,9 @@ * the old multi-source system +* `find_one_entity` and `find_entities` in favor of `find` + (see `#3361290 https://www.cubicweb.org/ticket/3361290`_) + Deprecated Code Drops ----------------------