Optional
config: DataStoreConfigOptional
condition: ModelPredicateExtender<T>Optional
criteria: typeof PredicateAll | RecursiveModelPredicateExtender<T>Optional
criteria: typeof PredicateAll | RecursiveModelPredicateExtender<T>Optional
paginationProducer: ObserveQueryOptions<T>Optional
criteria: null | RecursiveModelPredicateExtender<T> | typeof PredicateAllOptional
paginationProducer: ProducerPaginationInput<T>If not already done:
this.amplifyConfig.aws_appsync_graphqlEndpoint
contains a URL,
attaches a sync engine, starts it, and subscribes.Clears all data from storage and removes all data, schema info, other initialization details, and then stops DataStore.
That said, reinitialization is required after clearing. This can be done
by explicitiliy calling start()
or any method that implicitly starts
DataStore, such as query()
, save()
, or delete()
.
Builds a function to capture BackgroundManagerNotOpenError
's to produce friendlier,
more instructive errors for customers.
The name of the operation (usually a Datastore method) the customer tried to call.
Stops all DataStore sync activities.
TODO: "Waits for graceful termination of running queries and terminates subscriptions."
If not already done:
this.amplifyConfig.aws_appsync_graphqlEndpoint
contains a URL, attaches a sync engine, starts it, and subscribes.