【发布时间】:2021-02-12 14:55:07
【问题描述】:
我目前正在为此使用whereIn。但一次只能获得 10 个或更少的文件。 根据 Firestore 文档,在 10 个或更少的条目中
有没有什么方法可以一次获取超过 10 个文档?
return _db
.collection('books')
.where('docId', whereIn: ['id1', 'id2'...'id10'])
.get()
.then((value) => value.docs.map((e) => BookModel.fromFireStore(e)).toList());
【问题讨论】:
标签: firebase flutter google-cloud-firestore