SyncQuery.fromJsonRepresentation constructor
SyncQuery.fromJsonRepresentation(
- SyncDatabase database,
- String json
Creates an SyncQuery from the Query.jsonRepresentation of a query.
Implementation
factory SyncQuery.fromJsonRepresentation(
SyncDatabase database,
String json,
) =>
FfiQuery(
database: database as FfiDatabase,
definition: json,
language: CBLQueryLanguage.json,
)..prepare();