Apply a WHERE clause to the SELECT statement referred to by this :class:`_expression.ScalarSelect`.
(self, crit: _ColumnExpressionArgument[bool])
| 7092 | |
| 7093 | @_generative |
| 7094 | def where(self, crit: _ColumnExpressionArgument[bool]) -> Self: |
| 7095 | """Apply a WHERE clause to the SELECT statement referred to |
| 7096 | by this :class:`_expression.ScalarSelect`. |
| 7097 | |
| 7098 | """ |
| 7099 | self.element = cast("Select[Unpack[TupleAny]]", self.element).where( |
| 7100 | crit |
| 7101 | ) |
| 7102 | return self |
| 7103 | |
| 7104 | def self_group(self, against: Optional[OperatorType] = None) -> Self: |
| 7105 | return self |