]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Reimplement contained_by() on top of new _compare_edges()
authorLele Gaifax <lele@metapensiero.it>
Mon, 7 Nov 2022 08:01:11 +0000 (09:01 +0100)
committerLele Gaifax <lele@metapensiero.it>
Mon, 7 Nov 2022 08:01:11 +0000 (09:01 +0100)
commit0024e6b47f86001f2091519078338187aa55ea76
tree6034dc1e6e226bc6390737cedf6be799bb387485
parentc8364e9572278b3b51dfe5d511334d94cc1365e1
Reimplement contained_by() on top of new _compare_edges()

Although (maybe) slightly less efficient that the previous
implementation, this one is far simpler and clearer.
lib/sqlalchemy/dialects/postgresql/ranges.py