On String Value

Queries on string values

You can use regular expressions to search over values containing strings. The constraint is represented by a hash with the key $regex mapping to a regular expression.

Example

curl -X POST \
  -H "X-Appery-Database-Id: 544a5cdfe4b03d005b6233b9" \
  -H "Content-Type: application/json" \
  -d '{"where":{"studentName": {"$regex": "^A"}}}' \
  https://api.appery.io/1/db/collections/students/query