Skip to content

Sample demonstrating how to obtain Continuation token with @azure/cosmos js library

Notifications You must be signed in to change notification settings

sajeetharan/cosmos-db-js-pagination-sample

Repository files navigation

Pagination with Cosmos DB with azure-cosmos.js SDK

Prerequisites:

  • Create a CosmosDB Account of type SQL API and database named 'javascript' and collection named 'products'
  • Insert the data 'ProductsData.json' to CosmosDB using the Data Migration Tool

Steps to Run the application

  • Clone the Repository
  • Run npm install
  • Replace the environment COSMOS_ENDPOINT,COSMOS_KEY,COSMOS_DATABASE_NAME,CONTAINER_NAME in the .env file
  • Run npm start run the application

About

Sample demonstrating how to obtain Continuation token with @azure/cosmos js library

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published