Azure Cosmos DB TypeScript SDK

•
32k
•

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

This skill provides comprehensive guidance and implementation patterns for the Azure Cosmos DB data plane SDK (@azure/cosmos). It enables developers to efficiently perform CRUD operations, execute parameterized SQL queries, and manage container resources. Beyond basic operations, the skill covers advanced performance optimizations like bulk execution, partial document updates (patching), and the implementation of hierarchical partition keys for multi-tenant applications. It prioritizes security best practices by emphasizing Azure Active Directory (AAD) authentication and offers robust error-handling patterns for handling rate-limiting and optimistic concurrency.

主な機能

01Parameterized SQL queries with pagination and cross-partition support
02Optimistic concurrency management using ETags and IfMatch conditions
03High-performance bulk operations and partial document patching
04Support for hierarchical partition keys and MultiHash partitioning
05Full CRUD support for documents, databases, and containers
0631,722 GitHub stars

ユースケース

01Developing secure multi-tenant SaaS applications with complex partition strategies
02Building scalable serverless backends with Azure Functions and Cosmos DB
03Implementing high-throughput data ingestion pipelines using bulk operations