我正在尝试使用Golang和Firego从Firebase中获取一个时间戳有序的元素列表。文档建议:if err := f.StartAt("a").EndAt("c").LimitToFirst(8).OrderBy("field当我循环遍历映射(for key, val := range v)时,由于访问顺序为,因此值的顺序与在调用Firebase的响应中发送的值的顺序不同。
我遗漏了什么?谢
对于我的React应用程序,我试图编写一个自定义钩子,用于查询Firebase中的Firestore数据库。import { getFirestore, getDocs, collection, query, where, orderBy, limit } from 'firebase/firestorefirebase here
// although this actually hap