MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / except_

Method except_

lib/sqlalchemy/sql/selectable.py:6965–6979  ·  view source on GitHub ↗

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

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

Source from the content-addressed store, hash-verified

6963 return CompoundSelect._create_union_all(self, *other)
6964
6965 def except_(
6966 self, *other: _SelectStatementForCompoundArgument[Unpack[_Ts]]
6967 ) -> CompoundSelect[Unpack[_Ts]]:
6968 r"""Return a SQL ``EXCEPT`` of this select() construct against
6969 the given selectable provided as positional arguments.
6970
6971 :param \*other: one or more elements with which to create a
6972 UNION.
6973
6974 .. versionchanged:: 1.4.28
6975
6976 multiple elements are now accepted.
6977
6978 """
6979 return CompoundSelect._create_except(self, *other)
6980
6981 def except_all(
6982 self, *other: _SelectStatementForCompoundArgument[Unpack[_Ts]]

Callers

nothing calls this directly

Calls 1

_create_exceptMethod · 0.80

Tested by

no test coverage detected