mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-24 00:47:57 -05:00
19 lines
745 B
Plaintext
19 lines
745 B
Plaintext
|
{
|
||
|
"name": "ILIKE",
|
||
|
"type": "operator",
|
||
|
"description": "Returns 1 if the first parameter matches case-insensitive the supplied pattern. LIKE can be used instead of ILIKE to make the match case-sensitive. Works with numbers also.",
|
||
|
"arguments": [
|
||
|
{"arg":"string/number","description":"string to search"},
|
||
|
{"arg":"pattern","description":"pattern to find"}
|
||
|
],
|
||
|
"examples": [
|
||
|
{ "expression":"'A' ILIKE 'A'", "returns":"1"},
|
||
|
{ "expression":"'A' ILIKE 'a'", "returns":"1"},
|
||
|
{ "expression":"'A' ILIKE 'B'", "returns":"0"},
|
||
|
{ "expression":"'ABC' ILIKE 'b'", "returns":"0"},
|
||
|
{ "expression":"'ABC' ILIKE 'B'", "returns":"0"},
|
||
|
{ "expression":"'ABC' ILIKE '%b%'", "returns":"1"},
|
||
|
{ "expression":"'ABC' ILIKE '%B%'", "returns":"1"}
|
||
|
]
|
||
|
}
|