firebase - Firestore 中 .orderBy("id").startAt(n).limit(1) 的成本?
问题描述
在 Firestore 中进行这样的查询的成本是多少?
collection.orderBy("id").startAt(n).limit(1);
解决方案
您需要为在服务器上为您读取的每份文档支付一份文档读取费用。由于查询仅读取一份文档,因此您只需支付一份已读取文档的费用。
推荐阅读
- python - 数据框中的堆积条形图
- docker - 由 Ubuntu 16.04.01 制作的 Docker 可以在 16.04.5 上运行吗?
- mysql - 在连接的 SQL 语句中选择多个具有相同名称的事物
- byte - STM 32 上的 CRC32 CRC 外设:相同数据的字节流和字流给出不同的结果
- python - 在类中重写函数的最紧凑和最简洁的方法是什么?
- c# - 使用 while 循环遍历 WPF 元素
- c# - Unity 2d 角色以不同方向撞击物体
- javascript - Angular7 Firestore 导入 DocumentReference 类
- python - Python将csv文件转换为数据框
- sqlite - sqlite在数组中搜索列的一部分