[英]How to use startAt() and endAt() in Cloud Firestore?
I read Dan McGrath's answer from this question in which he says that in Firestore there is an equivalent for the following line of code:我读过Dan McGrath从这个问题得到的答案,他说在Firestore中,以下代码行是等效的:
myRef.startAt(searchText).endAt(searchText + "\uf8ff");
This line works perfect in Firebase Realtime database but I'm trying to find the equivalent in Cloud Firestore for days.这行代码在Firebase Realtime数据库中运行完美,但是我想在Cloud Firestore中找到对应的代码几天。 Can anyone help me with that?有人可以帮我吗?
Thanks in advance!提前致谢!
I read Dan McGrath's answer from this question in which he says that in Firestore there is an equivalent for the following line of code:我读过Dan McGrath从这个问题得到的答案,他说在Firestore中,以下代码行是等效的:
myRef.startAt(searchText).endAt(searchText + "\uf8ff");
This line works perfect in Firebase Realtime database but I'm trying to find the equivalent in Cloud Firestore for days.这行代码在Firebase Realtime数据库中运行完美,但是我想在Cloud Firestore中找到对应的代码几天。 Can anyone help me with that?有人可以帮我吗?
Thanks in advance!提前致谢!
I read Dan McGrath's answer from this question in which he says that in Firestore there is an equivalent for the following line of code:我读过Dan McGrath从这个问题得到的答案,他说在Firestore中,以下代码行是等效的:
myRef.startAt(searchText).endAt(searchText + "\uf8ff");
This line works perfect in Firebase Realtime database but I'm trying to find the equivalent in Cloud Firestore for days.这行代码在Firebase Realtime数据库中运行完美,但是我想在Cloud Firestore中找到对应的代码几天。 Can anyone help me with that?有人可以帮我吗?
Thanks in advance!提前致谢!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.