whereStartsWith method

void whereStartsWith (String key, String prefix)

Add a constraint for finding string values that start with a provided string.

This query will use the backend index, so it will be fast even for large datasets.

Implementation

void whereStartsWith(String key, String prefix) {
  _addCondition(key, "whereStartsWith", prefix);
}