From 9c78ba1f75e8bb8deb242eee062515d37cf06b74 Mon Sep 17 00:00:00 2001 From: xmo-odoo Date: Thu, 15 Sep 2016 17:05:10 +0200 Subject: [PATCH] [IMP] document subset/superset operations --- doc/reference/orm.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/reference/orm.rst b/doc/reference/orm.rst index 07d2a40315f..c1d242bd06b 100644 --- a/doc/reference/orm.rst +++ b/doc/reference/orm.rst @@ -91,6 +91,10 @@ preserve order. * ``record in set`` returns whether ``record`` (which must be a 1-element recordset) is present in ``set``. ``record not in set`` is the inverse operation +* ``set1 <= set2`` and ``set1 < set2`` return whether ``set1`` is a subset + of ``set2`` (resp. strict) +* ``set1 >= set2`` and ``set1 > set2`` return whether ``set1`` is a superset + of ``set2`` (resp. strict) * ``set1 | set2`` returns the union of the two recordsets, a new recordset containing all records present in either source * ``set1 & set2`` returns the intersection of two recordsets, a new recordset