【发布时间】:2015-08-22 12:29:36
【问题描述】:
我在 orientdb 函数中有一个简单的 sql 查询,如下所示:
select *
from TestExecutionPlanReport
where executionPlan IN :executionPlans
它接受“executionPlans”作为应该传递数组值的参数。
当我只尝试像“#59:71”这样的一个值时,它会起作用并返回所需的输出。但是当我尝试传入像“[#59:71,#59:214]”这样的数组值时,它不起作用。它返回一个空响应。当我查询“select * from SomeClass where field IN [#59:71,#59:214]”时它起作用(不在 OrientDb 函数中)
【问题讨论】:
标签: sql function parameters orientdb