Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个在查询编辑器中正常工作的查询,但在加载页面时失败(这里是脚本)。我收到错误“唯一查询可能最多有一个结果。得到 2”。我用空数组替换了查询中的空值,但它没有修复它。
它也会在查询编辑器中给出错误,但它也会返回结果,这可能会导致您忽略错误代码。
问题是查询的顶层。您需要那里的数组,因为它返回多个结果。尝试将整个查询包装在 []