CloudBase database code for WeChat Mini Programs.
Guides developers in writing WeChat Mini Program code that accesses CloudBase document databases while respecting identity and collection permissions.
When to use it
Use for Mini Program database access, including collection CRUD, pagination, aggregation, and geolocation queries.
It changes how the agent writes Mini Program database code by requiring native initialization and respecting system-managed ownership fields.
What you provide
The coding guidance targets the CloudBase document database SDK available in the Mini Program context through wx.cloud.database().
Database access requires a CloudBase document database environment, with operations constrained by collection permissions and security rules.
Instructs the agent to also read this sibling skill for Mini Program project rules and CloudBase integration; missing referenced skills must be installed.
This skill
CloudBase
Creates a geolocation database index