MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / in_boolean_mode

Method in_boolean_mode

lib/sqlalchemy/dialects/mysql/expression.py:115–123  ·  view source on GitHub ↗

Apply the "IN BOOLEAN MODE" modifier to the MATCH expression. :return: a new :class:`_mysql.match` instance with modifications applied.

(self)

Source from the content-addressed store, hash-verified

113
114 @_generative
115 def in_boolean_mode(self) -> Self:
116 """Apply the "IN BOOLEAN MODE" modifier to the MATCH expression.
117
118 :return: a new :class:`_mysql.match` instance with modifications
119 applied.
120 """
121
122 self.modifiers = self.modifiers.union({"mysql_boolean_mode": True})
123 return self
124
125 @_generative
126 def in_natural_language_mode(self) -> Self:

Callers

nothing calls this directly

Calls 1

unionMethod · 0.45

Tested by

no test coverage detected