简体   繁体   中英

Error: 1553 - AQL: bind parameter '@myParameter' has an invalid value or type (while parsing) - ERROR_QUERY_BIND_PARAMETER_TYPE

I have the following query:

FOR i IN items
    COLLECT otherId = i._from WITH COUNT INTO counter
    FILTER counter > @@myParameter
    RETURN otherId

Doesn't matter if it's executed from Java or the ArangoDB Web Interface, I always get the same error back: Query: AQL: bind parameter '@myParameter' has an invalid value or type (while parsing)

If I replace @@myParameter with a number it works.

Any idea? In Java I have tried with Integer, Long, BigInteger with no luck :-(

ArangoDB COMMUNITY EDITION v3.2.5

非集合参数需要一个@

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM