Omar-Saad commented on issue #855:
URL: https://github.com/apache/age/issues/855#issuecomment-1528838398

   You can't change the ID as they are auto generated but alternatively you can 
add a new property for the `People` entity like `person_id` and put the `id` 
you want in it.
   You can do so by running the following query : 
   
   ```
   SELECT * FROM cypher(‘students’,  $$
    MERGE(p:People { person_id: 1910677111, name: ‘Moontasir’})  
   RETURN p
   $$)  AS (res agtype); 
   ```
   
   The `MERGE` command will either create a new person or update it if it is 
already exists.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to