diff options
| author | xmo-odoo <xmo@odoo.com> | 2016-09-15 17:05:10 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-09-15 17:05:10 +0200 |
| commit | 9c78ba1f75e8bb8deb242eee062515d37cf06b74 (patch) | |
| tree | d1e9fde6f17d0c41ab5275c0bd12213028ffb608 /doc/reference | |
| parent | 9874892b97c6fd93c94465a7d0df6e434c05d909 (diff) | |
[IMP] document subset/superset operations
Diffstat (limited to 'doc/reference')
| -rw-r--r-- | doc/reference/orm.rst | 4 |
1 files changed, 4 insertions, 0 deletions
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 |
