I'm attempting to build a KCSQuery that performs a "contains" query.
If I have a column called "name" I would like to search on partial entries.
ie:
John
Jane
Julie
June
Jack
Query using "ju" and return records Julie and June.
I can see that other SDK's have a contains capability - but nothing for iOS. Is there a way?
Hey Ian,Let me know if this works for you.let query = KCSQuery(onField: "name", usingConditional: .KCSRegex, forValue: "^[a-z0-9]*ju” )Thanks,PranavKinvey Support
Too late. I gave up and moved to Syncano.
Ian Bradbury
I'm attempting to build a KCSQuery that performs a "contains" query.
If I have a column called "name" I would like to search on partial entries.
ie:
John
Jane
Julie
June
Jack
Query using "ju" and return records Julie and June.
I can see that other SDK's have a contains capability - but nothing for iOS. Is there a way?
Hey Ian,
Let me know if this works for you.
let query = KCSQuery(onField: "name", usingConditional: .KCSRegex, forValue: "^[a-z0-9]*ju” )
Thanks,
Pranav
Kinvey Support
- Oldest First
- Popular
- Newest First
Sorted by Oldest FirstPranav J
Hey Ian,
Let me know if this works for you.
let query = KCSQuery(onField: "name", usingConditional: .KCSRegex, forValue: "^[a-z0-9]*ju” )
Thanks,
Pranav
Kinvey Support
Ian Bradbury
Too late. I gave up and moved to Syncano.
-
Why do I get "Undefined symbols" errors when building with KinveyKit?
-
How do I register push tokens?
-
When using social login, to perform a log-out, do I need to log out of the social network, Kinvey, o
-
How can I assign additional properties to users?
-
Does KinveyKit support 64-bit ARM devices, such as iPhone 5s?
-
Authorization Token Invalid or Expired
-
BOOL and how it is stored in the database.
-
Offline saving throwing errors
-
Custom endpoint not able to form request object
-
Security through business logic
See all 437 topics