Azure Cosmos DB TypeScript

0•

Implements efficient data plane operations, parameterized queries, and bulk transactions using the Azure Cosmos DB JavaScript and TypeScript SDK.

This skill guides developers through implementing data plane operations for Azure Cosmos DB NoSQL API using the official @azure/cosmos TypeScript and JavaScript SDK. It provides production-ready code patterns for standard CRUD operations, partial document patching, parameterized SQL querying with pagination, bulk transaction execution, hierarchical partition key handling, and optimistic concurrency control using ETags and Azure AD authentication.

Key Features

01Full CRUD and partial document patch operations
020 GitHub stars
03Hierarchical and single partition key configuration
04High-throughput batch handling via bulk operations API
05Parameterized SQL querying with pagination and cross-partition options
06Optimistic concurrency control with ETags and structured error handling

Use Cases

01Building scalable TypeScript backend services interacting with Azure Cosmos DB NoSQL containers
02Migrating from key-based Cosmos DB connections to secure Azure AD authentication workflows
03Executing high-volume bulk item creates, updates, and deletes with optimized throughput