Zapier Firebase标记

问题描述 投票:0回答:1

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

我一直对此有疑问,我认为这是由于我正在使用的查询:

"orderBy": [{
    "field": {
        "fieldPath": "dateInMilliseconds"
    },
    "direction": "DESCENDING"
}]

(这是文档中提供的默认示例,我的字段已填写)。我认为问题出在fieldPath上,因为我要订购的集合的字段在子类别“ d”下。

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

enter image description here

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

enter image description here

没有此子类别,查询在测试中可以正常工作,但是在此类别中,查询返回错误,表明无法找到任何文档。

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

firebase google-cloud-firestore zapier
1个回答
0
投票

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

"orderBy": [{
    "field": {
        "fieldPath": "d.dateInMilliseconds"
    },
    "direction": "DESCENDING"
}]
© www.soinside.com 2019 - 2024. All rights reserved.