query method
Filters the map values and returns a new RealmResults according to the provided query
(with optional arguments
).
Only works for maps of RealmObject
s or EmbeddedObject
s.
For more details about the syntax of the Realm Query Language, refer to the documentation: https://www.mongodb.com/docs/realm/realm-query-language/.
Implementation
RealmResults<T> query(String query, [List<Object?> arguments = const []]) {
final handle = realmCore.queryMap(asManaged(), query, arguments);
return RealmResultsInternal.create<T>(handle, realm, metadata);
}