queryBy method
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 includefrom
. 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 useforUpdate
,forShare
or null.
Implementation
Stream<Row> queryBy(Iterable<String>? fields, String fromClause,
Map<String, dynamic> whereValues, [AccessOption? option])
=> _queryBy(fields, fromClause, whereValues, option, null);