Get a Component Instance

Note: Ensure you have installed the required package to use this SDK method.

You can get the datastore component reference as shown below. This will not fire a server-side call. You will refer to this component instance in various code snippets of working with DataStore.

copy
//Get a datastore instance
const datastore = new Datastore();

Last Updated 2026-07-02 14:51:41 +0530 IST