雲函數.批量操做數據庫

雲函數 const db=cloud.database();web // 雲函數入口函數 exports.main = async (event, context) => { try{ return await db.collection(‘user’).where({ name: 「wangjuan」 }).remove(); }catch(e){ console.log(e) }async }
相關文章
相關標籤/搜索