wx-cloud-sdk
TypeScript icon, indicating that this package has built-in type declarations

0.1.6 • Public • Published

微信云开发 SDK

Install

npm i wx-cloud-sdk

Usage

1. 云函数调用

const { remoteInvoke } = require('wx-cloud-sdk')
remoteInvoke.getInstance({
    appId: '',
    appSecret: '',
    env: '',
    funcName: ''
}).invoke({

})

2. 云数据库调用

const { Database, _ } = require('wx-cloud-sdk/cdb')
const db = new Database({ table: 'test' })
const res = db.queryOne({ value: _.eq(10) })

Readme

Keywords

none

Package Sidebar

Install

npm i wx-cloud-sdk

Weekly Downloads

0

Version

0.1.6

License

MIT

Unpacked Size

14 kB

Total Files

9

Last publish

Collaborators

  • yxwzaxns