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
I've been giving some effort into integrating Apache AGE with PostGIS. I've come to the point where the following query works:
SELECT * FROM cypher('some_graph', $$
CREATE (n:Device {id: 'some_id',
type: 'Device',
location: st_geomfromgeojson('{"type": "Point", "coordinates": [11.798998, 44.235024]}'),
RETURN n
$$) AS (n agtype);
However, when I try to update such location via
SELECT * FROM cypher('some_graph', $$
MATCH (n:Device {id: 'some_id})
SET n.location = st_geomfromgeojson('{"type": "Point", "coordinates": [11.456556, 44.234324]}')
RETURN n
$$) AS (n agtype);
I get the error:
ERROR: agtype_volatile_wrapper: unsupported arg type
SQL state: 22023
The text was updated successfully, but these errors were encountered:
I've been giving some effort into integrating Apache AGE with PostGIS. I've come to the point where the following query works:
SELECT * FROM cypher('some_graph', $$
CREATE (n:Device {id: 'some_id',
type: 'Device',
location: st_geomfromgeojson('{"type": "Point", "coordinates": [11.798998, 44.235024]}'),
RETURN n
$$) AS (n agtype);
However, when I try to update such location via
SELECT * FROM cypher('some_graph', $$
MATCH (n:Device {id: 'some_id})
SET n.location = st_geomfromgeojson('{"type": "Point", "coordinates": [11.456556, 44.234324]}')
RETURN n
$$) AS (n agtype);
I get the error:
ERROR: agtype_volatile_wrapper: unsupported arg type
SQL state: 22023
The text was updated successfully, but these errors were encountered: