MCPcopy Index your code
hub / github.com/sqlalchemy/sqlalchemy / overlap

Method overlap

lib/sqlalchemy/dialects/postgresql/array.py:405–409  ·  view source on GitHub ↗

Boolean expression. Test if array has elements in common with an argument array expression.

(self, other: typing_Any)

Source from the content-addressed store, hash-verified

403 )
404
405 def overlap(self, other: typing_Any) -> ColumnElement[bool]:
406 """Boolean expression. Test if array has elements in common with
407 an argument array expression.
408 """
409 return self.operate(OVERLAP, other, result_type=sqltypes.Boolean)
410
411 comparator_factory = Comparator
412

Callers 4

test_arrayMethod · 0.80
test_array_overlapMethod · 0.80

Calls 1

operateMethod · 0.95

Tested by 4

test_arrayMethod · 0.64
test_array_overlapMethod · 0.64