apache / apache/age

Attribute values of object types cannot be modified

Open
#239 13 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
C
Stars
4.8k
Forks
523
Avg merge
1d 2h
Merged PRs (30d)
9

Description

I created a point
`SELECT *
FROM ag_catalog.cypher('zjdata_graph', $$
CREATE (a:a {id:1,map:{name:'a'}})
RETURN id(a), properties(a)
$$) as (id ag_catalog.agtype,properties ag_catalog.agtype)`

results are as follows
![image](https://user-images.githubusercontent.com/69672009/178097627-e5741bb9-1c91-4185-8d18-d423ea2ccf4b.png)

I modify the map property value
`SELECT *
FROM ag_catalog.cypher('zjdata_graph', $$
MATCH (a:a)
WHERE a.id = 1
SET a.map = '{"name":"b"}'
RETURN id(a), properties(a)
$$) as (id ag_catalog.agtype,properties ag_catalog.agtype)`

This is not the result I want, please tell me how to solve it
![AY6K8H4WW~_58$(JSEE1ISV](https://user-images.githubusercontent.com/69672009/178097829-b4199ade-c876-4246-a9dd-7bfa991bd741.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.