Opened 17 months ago
Last modified 13 months ago
#58180 new enhancement
Specify the REGEXP format for meta_query
Reported by: | letraceursnork | Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | trivial | Version: | 6.2 |
Component: | Database | Keywords: | needs-docs dev-feedback |
Focuses: | Cc: |
Description
Because of the fact that meta_query
parameter with ['compare' => 'REGEXP', 'key' => 'foo', 'value' => '^bar']
working as substitution to raw SQL-request like ... foo.meta_key REGEXP ^bar ...
please, specify this explicitly in the documentation - especially the fact that this REGEXP should not be wrapped in /
Note: See
TracTickets for help on using
tickets.
@SergeyBiryukov check this out pls