summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/sql/operators.py
diff options
context:
space:
mode:
authorAnton Kovalevich <kai3341@gmail.com>2021-06-18 10:33:48 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2021-06-21 16:39:52 -0400
commit999b2e89955b97247d5624b0e638fa52f5342ad0 (patch)
tree7f9693db6e9c52ce2398eef7c8ffce2a1ce6f40c /lib/sqlalchemy/sql/operators.py
parent8b8e3a6f9db275be28ef6b6abde58ee085745cc2 (diff)
downloadsqlalchemy-999b2e89955b97247d5624b0e638fa52f5342ad0.tar.gz
Implement MySQL-specific MATCH
Added new construct :class:`_mysql.match`, which provides for the full range of MySQL's MATCH operator including multiple column support and modifiers. Pull request courtesy Anton Kovalevich. Fixes: #6132 Closes: #6133 Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/6133 Pull-request-sha: dc6842f13688849a848e2ecbb81600e6edf8b3a9 Change-Id: I66bbfd7947aa2e43a031772e9b5ae238d94e5223
Diffstat (limited to 'lib/sqlalchemy/sql/operators.py')
-rw-r--r--lib/sqlalchemy/sql/operators.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/sqlalchemy/sql/operators.py b/lib/sqlalchemy/sql/operators.py
index 60f03195c..408a505aa 100644
--- a/lib/sqlalchemy/sql/operators.py
+++ b/lib/sqlalchemy/sql/operators.py
@@ -954,6 +954,12 @@ class ColumnOperators(Operators):
* PostgreSQL - renders ``x @@ to_tsquery(y)``
* MySQL - renders ``MATCH (x) AGAINST (y IN BOOLEAN MODE)``
+
+ .. seealso::
+
+ :class:`_mysql.match` - MySQL specific construct with
+ additional features.
+
* Oracle - renders ``CONTAINS(x, y)``
* other backends may provide special implementations.
* Backends without any special implementation will emit