Azure Cosmos DB (TypeScript/JS)

•
2
•

Manages data plane operations for Azure Cosmos DB NoSQL API using the official JavaScript/TypeScript SDK.

This skill provides comprehensive guidance and implementation patterns for interacting with Azure Cosmos DB using the @azure/cosmos SDK. It streamlines the development of high-performance NoSQL database layers by providing templates for document CRUD, parameterized SQL queries, and efficient bulk operations. The skill emphasizes best practices such as Azure Active Directory (AAD) authentication, optimistic concurrency via ETags, and sophisticated partitioning strategies like hierarchical partition keys, making it essential for developers building scalable Node.js applications on Azure infrastructure.

Key Features

012 GitHub stars
02Integrated error handling for 429 rate limiting and 412 concurrency conflicts
03Full document lifecycle management including CRUD, Upsert, and Patch
04High-throughput bulk operations for batch data processing
05Implementation of hierarchical and multi-hash partition keys
06Advanced SQL querying with parameterization and cross-partition support

Use Cases

01Developing a scalable backend service using Azure Cosmos DB as the primary NoSQL store
02Migrating and synchronizing large datasets using optimized bulk execution patterns
03Implementing safe concurrent data updates using ETags and partial patching