【发布时间】:2017-11-28 02:13:34
【问题描述】:
我正在关注https://docs.mongodb.com/stitch/getting-started/dashboard/ 的仪表板教程 当我尝试绘制数据时出现 Javascript 错误:
Uncaught (in promise) TypeError: client.executeFunction is not a function
at buildGraph ((index):62)
at eval ((index):15)
at <anonymous>
这是由以下行引起的:
client.executeFunction("SalesTimeline", (now - duration), now)
executeFunction 不是客户端中的方法,所以可能客户端实例化的方式不正确,但是,到目前为止,我只是从 MongoDB 中复制了代码,我不知道会出现什么问题。
【问题讨论】:
标签: mongodb-stitch