MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / except_

Method except_

lib/sqlalchemy/sql/selectable.py:6676–6690  ·  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[_TP]
    )

Source from the content-addressed store, hash-verified

6674 return CompoundSelect._create_union_all(self, *other)
6675
6676 def except_(
6677 self, *other: _SelectStatementForCompoundArgument[_TP]
6678 ) -> CompoundSelect[_TP]:
6679 r"""Return a SQL ``EXCEPT`` of this select() construct against
6680 the given selectable provided as positional arguments.
6681
6682 :param \*other: one or more elements with which to create a
6683 UNION.
6684
6685 .. versionchanged:: 1.4.28
6686
6687 multiple elements are now accepted.
6688
6689 """
6690 return CompoundSelect._create_except(self, *other)
6691
6692 def except_all(
6693 self, *other: _SelectStatementForCompoundArgument[_TP]

Callers

nothing calls this directly

Calls 1

_create_exceptMethod · 0.80

Tested by

no test coverage detected