获取集合的引用

  1. // 获取 `user` 集合的引用const collection = db.collection('user');
  • 集合 Collection
  • 记录 Record / Document
  • 查询筛选指令 Query Command
  • 字段更新指令 Update Command