CASEINSENSITIVE()
By default, field values in the WHERE clause are case sensitive. In v14.0+, use the CASEINSENSITIVE() function in the WHERE clause to bypass field case sensitivity.
Syntax
Section link for SyntaxSELECT {field}
FROM {query target}
WHERE CASEINSENSITIVE({field}) {operator} {value}The {field} parameter must be the name of an object field of type String.
Query Examples
Section link for Query ExamplesThe following are examples of queries using CASEINSENSITIVE().
The following example returns Product records where the Name field value is ‘cholecap’ in any letter case:
SELECT name__v
FROM product__v
WHERE CASEINSENSITIVE(name__v) = 'cholecap'Response
Section link for Response{
"responseStatus": "SUCCESS",
"responseDetails": {
"pagesize": 1000,
"pageoffset": 0,
"size": 1,
"total": 1
},
"data": [
{
"name__v": "CholeCap"
}
]
}