随笔分类 -  unicloud

unicloud
unicloud云函数url化,外部访问,云函数接收参数
摘要:'use strict';exports.main = async (event, context) => { //event.body为客户端上传的参数 console.log('event : ', event.body)var res=event.bodyvar obg={}; var arr 阅读全文

posted @ 2021-07-19 14:17 Just丶随心 编辑

unicloud数据聚合处理
摘要:const db = uniCloud.database(); const collection=db.collection('sblist'); //链表查 var res=await collection.aggregate() .lookup({ from: 'uni-id-users', l 阅读全文

posted @ 2021-06-24 13:49 Just丶随心 编辑

unicloud链表查询
摘要:假设 orders 集合有以下记录: [ {"_id":4,"book":"novel 1","price":30,"quantity":2}, {"_id":5,"book":"science 1","price":20,"quantity":1}, {"_id":6} ] books 集合有以下 阅读全文

posted @ 2021-06-24 10:04 Just丶随心 编辑

uni-id的使用
摘要:https://www.bctos.cn/doc/18/1958 阅读全文

posted @ 2021-06-22 10:26 Just丶随心 编辑

uni-id
摘要:https://www.bctos.cn/doc/18/1958 阅读全文

posted @ 2021-06-11 13:12 Just丶随心 编辑

unicloud表增删改查
摘要:'use strict';const db=uniCloud.database();exports.main = async (event, context) => { //event为客户端上传的参数 console.log(event.a) //const res=[] if(event.a== 阅读全文

posted @ 2021-05-24 16:17 Just丶随心 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

导航

统计

点击右上角即可分享
微信分享提示