首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Zapier Firebase标记

Zapier Firebase标记
EN

Stack Overflow用户
提问于 2020-05-19 05:01:54
回答 1查看 200关注 0票数 0

我正在尝试将我的Zapier帐户链接到我的Firebase帐户,以便在集合中看到新条目时触发。

我一直对此有问题,我认为这是因为我使用的查询:

代码语言:javascript
复制
"orderBy": [{
    "field": {
        "fieldPath": "startDateInMilliseconds"
    },
    "direction": "DESCENDING"
}]

(这是文档中给出的默认示例,其中填写了my字段)。我认为问题源于fieldPath,因为我排序的集合的字段位于子类别"d“下。

Here's a picture of the data that works with the above query.

He's a picture of the data I'm working with, this one does not work.

Image with the start date field.

如果没有这个子类别,查询在测试中工作得很好,但是在这个类别中,查询返回一个错误,说它找不到任何文档。

有没有人知道如何更改查询以适应我的情况?谢谢。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2020-05-20 03:09:39

如果您试图查询d字段映射的属性,则需要使用点符号来查找它。

代码语言:javascript
复制
"orderBy": [{
    "field": {
        "fieldPath": "d.dateInMilliseconds"
    },
    "direction": "DESCENDING"
}]
票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/61878935

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档