diff options
author | Lele Gaifax <lele@metapensiero.it> | 2022-11-02 08:33:41 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2022-11-03 09:30:38 -0400 |
commit | e8124b29b07fd17ab2f2b6892534dcc4b0797ab4 (patch) | |
tree | 5e8436a3f457b6bc2b7fb53c659afd92f209bc47 /lib/sqlalchemy/orm/util.py | |
parent | 66f3533de86506327c753c1ea80b121692535745 (diff) | |
download | sqlalchemy-e8124b29b07fd17ab2f2b6892534dcc4b0797ab4.tar.gz |
Implement contains_value(), issubset() and issuperset() on PG Range
Added new methods :meth:`_postgresql.Range.contains` and
:meth:`_postgresql.Range.contained_by` to the new :class:`.Range` data
object, which mirror the behavior of the PostgreSQL ``@>`` and ``<@``
operators, as well as the
:meth:`_postgresql.AbstractRange.comparator_factory.contains` and
:meth:`_postgresql.AbstractRange.comparator_factory.contained_by` SQL
operator methods. Pull request courtesy Lele Gaifax.
Fixes: #8706
Closes: #8707
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/8707
Pull-request-sha: 3a74a0d93e63032ebee02992977498c717a077ff
Change-Id: Ief81ca5c31448640b26dfbc3defd4dde1d51e366
Diffstat (limited to 'lib/sqlalchemy/orm/util.py')
0 files changed, 0 insertions, 0 deletions