Access a particular datastore, or the default datastore.
sails.getDatastore(datastoreName);
Argument | Type | Details | |
---|---|---|---|
1 | datastoreName | If specified, this is the name of the datastore to look up. Otherwise, if you leave this blank, this getDatastore() will return the default datastore for your app. |
Type: