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
name
The name of the datastore instancescope
Optional 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.
name
The name of the datastore instancedatastoreOptions
The options for the datastore instancescope
Optional 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
name
The name of orderedDatastorescope
Optional 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.
name
The name of the orderedDatastore instancedatastoreOptions
The options for the datastorescope
Optional parameter. The scope of the instance
1 2 3 4 5 6 7 8 |
|