我在 AgnsGraph 1.3 版中使用过,但我没有在运算符中使用 where 子句。
例如:
eya=# CREATE (a:person {name:['ljh','jhlee'], age:102});
GRAPH WRITE (INSERT VERTEX 1, INSERT EDGE 0)
CREATE TABLE t_name (
name text,
age int
);
CREATE TABLE
insert into t_name values ('ljh', '102');
INSERT 0 1
eya=# insert into t_name values ('khan', '101');
INSERT 0 1
eya=# SELECT *
FROM t_name
WHERE name IN (MATCH (a:person) WHERE a.age = 102 RETURN a.name);
错误:“MATCH”或附近的语法错误第 3 行:WHERE name IN (MATCH (a:person) WHERE a.age = 102 RETURN a....