AGConnectCloudDBZone class

Constructors

AGConnectCloudDBZone.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

executeAverageQuery({String field, AGConnectCloudDBQuery query, AGConnectCloudDBZoneQueryPolicy policy}) Future
You can invoke this method to query Cloud DB zone object data that meets specified conditions and return the average value of specified fields. [...]
executeCountQuery({String field, AGConnectCloudDBQuery query, AGConnectCloudDBZoneQueryPolicy policy}) Future<int>
You can call this method to search for Cloud DB zone objects that meet specified conditions and return the number of data records in a specified field. During statistics collection, if the value of this field is not empty, count 1. Otherwise, count 0. [...]
executeDelete({String objectTypeName, List<Map<String, dynamic>> entries}) Future<int>
You can call this method to delete a group of Cloud DB zone objects whose primary key values are the same as those of the input object list in batches. The delete operation focuses only on whether the primary key of the object is consistent, regardless of whether other attributes of the object match the stored data. The delete operation is atomic. That is, the input object list is either all deleted successfully or all fails to be deleted. [...]
executeMaximumQuery({String field, AGConnectCloudDBQuery query, AGConnectCloudDBZoneQueryPolicy policy}) Future
You can call this method to search for Cloud DB zone objects that meet the specified conditions and return the maximum value of the data record of the specified fields. [...]
executeMinimalQuery({String field, AGConnectCloudDBQuery query, AGConnectCloudDBZoneQueryPolicy policy}) Future
You can call this method to search for Cloud DB zone objects that meet the specified conditions and return the minimum value of the data record of the specified fields. [...]
executeQuery({AGConnectCloudDBQuery query, AGConnectCloudDBZoneQueryPolicy policy}) Future<AGConnectCloudDBZoneSnapshot>
You can invoke this method to query object data that meets specific conditions from the Cloud DB zone. [...]
executeQueryUnsynced({AGConnectCloudDBQuery query}) Future<AGConnectCloudDBZoneSnapshot>
You can call this method to query all Cloud DB objects that meet specified conditions but has not been synchronized to the cloud. The query result set contains the objects that are added or modified locally, but does not contain the deleted objects. [...]
executeSumQuery({String field, AGConnectCloudDBQuery query, AGConnectCloudDBZoneQueryPolicy policy}) Future
You can call this method to search for Cloud DB zone objects that meet the specified conditions and return the sum of the data record values of the designated fields. [...]
executeUpsert({String objectTypeName, List<Map<String, dynamic>> entries}) Future<int>
You can invoke this method to write a group of objects to the current Cloud DB zone in batches. The write operation is atomic. That is, the input objects are either all successfully written or all fail to be written. If an object with the same primary key exists in the Cloud DB zone, the existing object data will be updated. Otherwise, a new object is written. [...]
getCloudDBZoneConfig() Future<AGConnectCloudDBZoneConfig>
You can invoke this method to obtain the current Cloud DB zone configuration information, including the Cloud DB zone name, synchronization attributes, and access attributes.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
runTransaction({AGConnectCloudDBTransaction transaction}) Future<void>
This method is called to perform a specified transaction operation. [...]
subscribeSnapshot({AGConnectCloudDBQuery query, AGConnectCloudDBZoneQueryPolicy policy}) Future<Stream<AGConnectCloudDBZoneSnapshot>>
You can call this method to register a listener for a specified object. [...]
toMap() Map<String, dynamic>
toString() String
A string representation of this object. [...]
inherited

Operators

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