You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CREATE CLASS Test;
CREATE CLASS TestMap;
CREATE PROPERTY Test.mymap LINKMAP TestMap;
CREATE PROPERTY Test.id STRING;
INSERT INTO TestMap (name) VALUES ('test');
INSERT INTO Test SET id ="123", mymap = {};
UPDATE Test SET mymap['A1'] = (SELECTFROM TestMap WHERE name ='test') WHERE id ="123"UPDATE Test SET mymap['A2'] = (SELECTFROM TestMap WHERE name ='test') WHERE id ="123"
...
SELECT mymap:{*:{name}} FROM Test where id ="123"// {"A1":"#23:0","A2":"#23:0"}
SELECT mymap:{*:{*}} FROM Test where id ="123"// {"A1":"#23:0","A2":"#23:0"}
SELECT mymap:{"A1":{name},"A2":{name}} FROM Test where id ="123"// {"A1":{"name":"test"},"A2":{"name":"test"}}
The text was updated successfully, but these errors were encountered:
freeart
changed the title
MAPLINK EXPAND as mapfield:{*:{name}} doesn't work
MAPLINK expanding as mapfield:{*:{name}} doesn't work
Nov 15, 2018
OrientDB Version: 3.1.0 from develop branch
Java Version: docker openjdk:8-jdk-alpine
OS: docker openjdk:8-jdk-alpine
Expected behavior
{"A1":{"name":"test"},"A2":{"name":"test"}}
Actual behavior
{"A1":"#23:0","A2":"#23:0"}
Steps to reproduce
The text was updated successfully, but these errors were encountered: