Lightlines
By tencentcloudbase

cloudbase-document-database-in-wechat-miniprogram

tencentcloudbase1.5k installs

CloudBase database code for WeChat Mini Programs.

What it does

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.

How to use it

It changes how the agent writes Mini Program database code by requiring native initialization and respecting system-managed ownership fields.

What you provide

  • An existing project

Uses

Latest review

What you need · 4

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.


Access · 1

This skill

CloudBase

Write

Creates a geolocation database index