Query class abstract

Constructors

Query()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

bool({dynamic must, dynamic filter, dynamic should, dynamic mustNot}) Map
exists(String field) Map
functionScore({required dynamic query, dynamic scriptScore}) Map
ids(List<String> values) Map
match(String field, String text, {String? minimum}) Map
matchAll() Map
matchNone() Map
matchPhrase(String field, String text, {String? analyzer, String? zeroTermsQuery}) Map
prefix(String field, String value) Map
queryString(String query, {String? defaultField}) Map
range(String field, {dynamic gt, dynamic gte, dynamic lt, dynamic lte}) Map
regexp(String field, String value, {String? flags, dynamic caseInsensitive, int? maxDeterminizedStates, String? rewrite}) Map
term(String field, List<String> terms) Map