YaDatastoreAPI¶
This API is used to get datastore and orderedDatastore objects.
Functions¶
Datastore YaDatastoreAPI.GetDatastore(string name, [string scope])¶
SERVER ONLY
ReturnsA datastore object
Create a datastore instance with the provided name and scope
nameThe name of the datastore instancescopeOptional parameter. The scope of the instance
1 2 3 4 5 6 7 8 9 | |
Datastore YaDatastoreAPI.GetDatastoreWithOptions(string name, DatastoreOptions datastoreOptions, [string scope])¶
SERVER ONLY
ReturnsA datastore instance
Create a datastore instance with provided name, scope and options.
nameThe name of the datastore instancedatastoreOptionsThe options for the datastore instancescopeOptional parameter. The scope of the instance
1 2 3 4 5 6 7 8 | |
OrderedDatastore YaDatastoreAPI.GetOrderedDatastore(string name, [string scope])¶
SERVER ONLY
ReturnsAn ordered data store instance
Create an ordered datastore instance with the provided name and scope
nameThe name of orderedDatastorescopeOptional parameter. The scope of orderedDatastore
1 2 3 4 5 6 7 8 9 | |
OrderedDatastore YaDatastoreAPI.GetOrderedDatastoreWithOptions(string name, DatastoreOptions datastoreOptions, [string scope])¶
SERVER ONLY
ReturnsA ordered datastore instance
Create a ordered datastore instance with provided name, scope and options.
nameThe name of the orderedDatastore instancedatastoreOptionsThe options for the datastorescopeOptional parameter. The scope of the instance
1 2 3 4 5 6 7 8 | |