tgranqvist commented on issue #48: URL: https://github.com/apache/age/issues/48#issuecomment-2585954673
Okay, found it. The cast to integer has to be done using a function: `ag_catalog.agtype_to_int4`. Here's a working query: ```sql SELECT * FROM ag_catalog.cypher('water_network', $$ CREATE (:LOCATION { title: 'My place', coords: public.st_setsrid(public.st_makepoint(-71.1043443253471::pg_float8, 42.3150676015829::pg_float8), ag_catalog.agtype_to_int4(4326)) }) $$) AS (_ ag_catalog.agtype); ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@age.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org