Back to Sails

`.getDatastore()`

docs/reference/waterline/models/getDatastore.md

12.12.2000550 B
Original Source

.getDatastore()

Access the datastore for a particular model.

usage
Something.getDatastore();

Usage

Returns

Type: ((Dictionary))

A datastore instance.

Notes

  • This is a synchronous method, so you don't need to use await, promise chaining, or traditional Node callbacks.
<docmeta name="displayName" value=".getDatastore()"> <docmeta name="pageType" value="method">