whereStartsWith method

QueryBuilder whereStartsWith(
  1. String field,
  2. String value, {
  3. bool caseSensitive = false,
  4. bool escape = true,
})

Adds a WHERE condition that checks if field starts with value.

Implementation

QueryBuilder whereStartsWith(String field, String value,
        {bool caseSensitive = false, bool escape = true}) =>
    whereLike(field, '$value%', caseSensitive: caseSensitive, escape: escape);