标签:google-cloud-firestore
-
firestore数据库添加图像进行记录 - java
我需要将jpeg图像添加到Firestore数据库记录中。我首选的方式是在Sqlite记录中使用的Blob。我在尝试这种方法时遇到了一些问题。以下是到目前为止我最好的尝试: public Blob getImage() { Uri uri = Uri.fromFile(new File(mCurrentPhotoPath)); File f1 = new F […]
-
无法在Firebase查询数据中传递变量 - python
根据https://firebase.google.com/docs/firestore/query-data/get-data我试图在python中使用以下代码,并在查询中传递变量。 给定的例子 docs = db.collection(u'cities').where(u'capital', u'== […]
-
Firebase Firestore集合的最大值 - java
collection * Random_Id1 *amount:100 *name:John Random_Id2 *amount:150 *name:Matt Random_Id3 *amount:65 *name:Alice 我有一个Firestore集合,其中包含不同的文档。这些文件中包含数据(名称,年龄,金额等)。有没有办法我可以返回集合中的最高金额 […]