wordpress-develop/tests/phpunit/tests/meta
Boone Gorges 6eabc83b81 Query: Expand the list of operators available to compare_key in WP_Meta_Query.
`compare_key`, introduced in #42409, previously supported only `=` and `LIKE`
operators. This changeset introduces a number of other operators: `!=`, `IN`,
`NOT IN`, `NOT LIKE`, `RLIKE`, `REGEXP`, `NOT REGEXP`, `EXISTS`, and `NOT EXISTS`
(the latter two aliased to `=` and `!=`, respectively). To support case-sensitive
regular expression key comparisons, the new `type_key` parameter will force
a MySQL `CAST` when 'BINARY' is passed.

Props soulseekah.
Fixes #43346.

git-svn-id: https://develop.svn.wordpress.org/trunk@46188 602fd350-edb4-49c9-b593-d223f7449a82
2019-09-19 15:02:20 +00:00
..
deleteMetadata.php Options, Meta APIs: Remove an accidental short array syntax in the tests. 2019-03-28 22:02:10 +00:00
query.php Query: Expand the list of operators available to compare_key in WP_Meta_Query. 2019-09-19 15:02:20 +00:00
registerMeta.php Coding Standards: Fix the remaining issues in /tests. 2019-07-08 00:55:20 +00:00
slashes.php Code is Poetry. 2017-11-30 23:09:33 +00:00
updateMetadata.php Don't double-unslash meta key when update_metadata() falls back on add_metadata(). 2016-02-11 17:34:59 +00:00