cloudbase-document-database-in-wechat-miniprogram

Installation
Summary

CloudBase document database operations for WeChat MiniProgram with query, CRUD, and aggregation support.

  • Provides CRUD operations, complex queries, pagination, aggregation, and geolocation queries through the CloudBase SDK
  • Built-in WeChat authentication; no explicit login required, with automatic user context in cloud functions
  • Requires type definitions and model layers per collection as a single source of truth for schema validation
  • Database security rules must be configured via writeSecurityRule MCP tool before performing operations
SKILL.md

Standalone Install Note

If this environment only installed the current skill, start from the CloudBase main entry and use the published cloudbase/references/... paths for sibling skills.

  • CloudBase main entry: https://cnb.cool/tencent/cloud/cloudbase/cloudbase-skills/-/git/raw/main/skills/cloudbase/SKILL.md
  • Current skill raw source: https://cnb.cool/tencent/cloud/cloudbase/cloudbase-skills/-/git/raw/main/skills/cloudbase/references/no-sql-wx-mp-sdk/SKILL.md

Keep local references/... paths for files that ship with the current skill directory. When this file points to a sibling skill such as auth-tool or web-development, use the standalone fallback URL shown next to that reference.

CloudBase Document Database WeChat Mini Program SDK

Activation Contract

Use this first when

  • A WeChat Mini Program must access CloudBase document database through wx.cloud.database().
  • The request mentions Mini Program collection CRUD, pagination, aggregation, or geolocation queries.

Read before writing code if

Related skills

More from tencentcloudbase/skills

Installs
1.2K
GitHub Stars
58
First Seen
Jan 22, 2026