This skill provides specialized guidance for the @azure/cosmos SDK, enabling developers to build robust data layers for Azure Cosmos DB NoSQL API applications. It covers the full lifecycle of data interaction, from container setup and document CRUD operations to advanced features like parameterized queries, bulk processing, and hierarchical partition keys. Designed for TypeScript environments, it emphasizes best practices such as AAD authentication via DefaultAzureCredential, optimistic concurrency using ETags, and efficient error handling, making it an essential tool for building scalable, cloud-native backend services.
주요 기능
01Comprehensive document CRUD and Upsert operations with TypeScript typing
02Secure parameterized SQL queries with pagination and cross-partition support
03High-throughput data processing using executeBulkOperations
04Advanced partitioning strategies including MultiHash/Hierarchical keys
05Modern authentication patterns using Azure Identity and Managed Identities
064 GitHub stars
사용 사례
01Developing type-safe data access layers for Node.js backend services
02Optimizing database performance through bulk operations and proper partitioning
03Implementing efficient partial document updates using the Patch API