All Products
Search
Document Center

Tablestore:Node.js SDK

Last Updated:Dec 18, 2024

This topic describes how to use and download Tablestore SDK for Node.js and the versions of Tablestore SDK for Node.js. The content in this topic applies to Tablestore SDK for Node.js V4.X.X or later.

Use Tablestore SDK for Node.js

Tablestore provides the Wide Column, TimeSeries, and Timeline models. You can use Tablestore SDK for Node.js to perform operations only in the Wide Column model.

You can perform the following steps to use the Wide Column model:

  1. Install Tablestore SDK for Node.js. For more information, see Install Tablestore SDK for Node.js.

  2. Initialize an OTSClient instance to access a Tablestore instance. For more information, see Initialize an OTSClient instance.

  3. Create a data table to store data. For more information, see Table.

  4. Read data from and write data to the table. For more information, see Basic operations on data.

  5. Use indexes to accelerate data queries. For more information, see Search Index and Secondary Index.

  6. Use the SQL query feature to query data. For more information, see SQL query.

Download Tablestore SDK for Node.js

Download Tablestore SDK for Node.js from GitHub. For more information, visit GitHub.

Versions

Latest version: 5.x.x.

For more information about the latest version and version history, see Version history of Tablestore SDK for Node.js.

References

To query information about API operations, see List of operations by function.

For information about how to handle Tablestore errors, see Error handling.