Azure Cosmos DB TypeScript SDK

0•

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

This skill provides a comprehensive set of implementation patterns and best practices for managing Azure Cosmos DB resources using the @azure/cosmos SDK. It guides developers through the entire data lifecycle, from database and container initialization to complex document CRUD operations, parameterized SQL queries, and efficient bulk executions. By incorporating guidance on AAD authentication, hierarchical partition keys, and optimistic concurrency via ETags, this skill ensures that developers can build highly scalable, secure, and performant data layers for cloud-native applications on Microsoft Azure.

Key Features

01Optimized SQL query implementation with parameterization and pagination
02Advanced resource configuration for hierarchical partition keys and ETags
03High-throughput data management via bulk and patch operations
040 GitHub stars
05Comprehensive CRUD operations for documents with TypeScript type safety
06Robust error handling for status codes like 429 (rate limiting) and 404

Use Cases

01Building a high-performance backend service with Node.js and Cosmos DB
02Developing serverless Azure Functions with optimized data access patterns
03Implementing data migration scripts or automated bulk document updates