cloudbase-document-database-in-wechat-miniprogram

Featured

Use CloudBase document database WeChat MiniProgram SDK to query, create, update, and delete data. Supports complex queries, pagination, aggregation, and geolocation queries.

Data & Documents 1,102 stars 138 forks Updated today MIT

Install

View on GitHub

Quality Score: 96/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

## Sibling skills (local only) Sibling CloudBase skills ship beside this skill. Use local relative paths such as `../auth-tool-cloudbase/SKILL.md`. If a referenced sibling skill file is missing from this environment, ask the user to install the full CloudBase plugin (or the missing skill). Do **not** HTTP-fetch remote skill or protocol markdown into the agent context. # 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 - The task is Mini Program database work but you still need to separate it from Web SDK, cloud functions, or SQL tasks. - The request depends on built-in user identity, `_openid`, or Mini Program-side permissions. ### Then also read - Mini Program project rules and CloudBase integration -> `../miniprogram-development/SKILL.md` - Mini Program auth and identity flow -> `../auth-wechat-miniprogram/SKILL.md` - Browser-side document database code -> `../cloudbase-document-database-web-sdk/SKILL.md` ### Do NOT use for - Browser/Web code using `@cloudbase/js-sdk`. - Server-side or cloud-function database access. - MySQL / relational database work. ### Common mistakes / gotchas - Copying Web SDK code into Mini Program pages. - Manually writing `_openid` during create or update opera...

Details

Author
TencentCloudBase
Repository
TencentCloudBase/CloudBase-AI-Toolkit
Created
1 years ago
Last Updated
today
Language
TypeScript
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category

API & Backend Featured

cloudbase-document-database-web-sdk

Use CloudBase document database Web SDK only for confirmed NoSQL collection work. Query, create, update, and delete document data; if the task mentions PostgreSQL / CloudBase PG / app.rdb(), route to postgresql-development instead.

1,102 Updated today
TencentCloudBase
API & Backend Featured

miniprogram-development

WeChat Mini Program development skill for building, debugging, previewing, testing, publishing, and optimizing mini program projects (小程序开发、调试、预览、发布). Covers project structure and config (`project.config.json`, `appid`, `miniprogramRoot`, `tabBar`, routing/navigation, icon assets), WeChat Developer Tools Nightly workflows (`wechatide` CLI, WeChat IDE Skills/MCP), `miniprogram-ci` preview/upload, console/network debugging, message push (消息推送) and customer-service auto-reply (客服消息), mini program SEO / search indexing (小程序搜索优化、页面收录、搜索推广、mpcrawler), and CloudBase integration (`wx.cloud`, 腾讯云开发, 云开发) when explicitly used. Use when users create, develop, modify, debug, preview, deploy, publish, or promote WeChat Mini Programs. NOT for Web frontend (use web-development), pure backend services (use cloudrun-development / cloud-functions), or UI-design-only tasks (use ui-design).

1,102 Updated today
TencentCloudBase
API & Backend Featured

auth-wechat-miniprogram

CloudBase WeChat Mini Program native authentication guide. This skill should be used when users need mini program identity handling, OPENID/UNIONID access, or `wx.cloud` auth behavior in projects where login is native and automatic.

1,102 Updated today
TencentCloudBase