Return the :class:`_expression.Select` object emitted by this :class:`_query.Query`. Used for :func:`_sa.inspect` compatibility, this is equivalent to:: query.enable_eagerloads(False).with_labels().statement
(self)
| 794 | |
| 795 | @property |
| 796 | def selectable(self) -> Union[Select[_T], FromStatement[_T], UpdateBase]: |
| 797 | """Return the :class:`_expression.Select` object emitted by this |
| 798 | :class:`_query.Query`. |
| 799 | |
| 800 | Used for :func:`_sa.inspect` compatibility, this is equivalent to:: |
| 801 | |
| 802 | query.enable_eagerloads(False).with_labels().statement |
| 803 | |
| 804 | """ |
| 805 | return self.__clause_element__() |
| 806 | |
| 807 | def __clause_element__( |
| 808 | self, |
nothing calls this directly
no test coverage detected