MCPcopy Create free account
hub / github.com/zzzeek/sqlalchemy / intersect_all

Method intersect_all

lib/sqlalchemy/sql/selectable.py:7016–7033  ·  view source on GitHub ↗

r"""Return a SQL ``INTERSECT ALL`` of this select() construct against the given selectables provided as positional arguments. :param \*other: one or more elements with which to create a UNION. .. versionchanged:: 1.4.28 multiple elements are now accep

(
        self, *other: _SelectStatementForCompoundArgument[Unpack[_Ts]]
    )

Source from the content-addressed store, hash-verified

7014 return CompoundSelect._create_intersect(self, *other)
7015
7016 def intersect_all(
7017 self, *other: _SelectStatementForCompoundArgument[Unpack[_Ts]]
7018 ) -> CompoundSelect[Unpack[_Ts]]:
7019 r"""Return a SQL ``INTERSECT ALL`` of this select() construct
7020 against the given selectables provided as positional arguments.
7021
7022 :param \*other: one or more elements with which to create a
7023 UNION.
7024
7025 .. versionchanged:: 1.4.28
7026
7027 multiple elements are now accepted.
7028
7029 :param \**kwargs: keyword arguments are forwarded to the constructor
7030 for the newly created :class:`_sql.CompoundSelect` object.
7031
7032 """
7033 return CompoundSelect._create_intersect_all(self, *other)
7034
7035
7036class ScalarSelect(

Callers

nothing calls this directly

Calls 1

_create_intersect_allMethod · 0.80

Tested by

no test coverage detected