queryBy method

Stream<Row> queryBy(
  1. Iterable<String>? fields,
  2. String fromClause,
  3. Map<String, dynamic> whereValues, [
  4. AccessOption? option,
])

Queries fields from fromClause for the criteria specified in whereValues (AND-ed together).

  • fromClause - any valid from clause, such as a table name, an inner join, and so on. Note: it shall not include from. Example: Foo, "Foo" inner join "Moo" on ref=oid, and "Foo" F.
  • whereValues - the values in this map will be encoded as an SQL condition by sqlWhereBy. See sqlWhereBy for details.
  • option - whether to use forUpdate, forShare or null.

Implementation

Stream<Row> queryBy(Iterable<String>? fields, String fromClause,
  Map<String, dynamic> whereValues, [AccessOption? option])
=> _queryBy(fields, fromClause, whereValues, option, null);