是否可以使用服务器的时间戳来过滤Firestore查询?当尝试执行查询时,例如: firebase.app.firestore() .where('timestamp', '<=', firebase.firestore.FieldValue.serverTimestampFieldValue.serverTimestamp() can only be used with
我试图获取我在firestore中创建的文档的时间戳,但我得到的是:myService.tsthis.domiciliarios = this.afs.collectionconst data = a.payload.doc.data() as Domiciliario; const date = firebase.firestore.FieldValue.serverTime