seo-kw commented on issue #76:
URL: https://github.com/apache/incubator-age/issues/76#issuecomment-850256389


   > 
   > 
   > I haven't used JDBC myself, but if it is similar to asyncpg, it should 
work like this:
   > 
   > ```
   > PreparedStatement pstmt  = 
connectionHelper.createConnection().prepareStatement(
   >    "select * from cypher('a', $$ "+
   >    "match (a) where id(a) = $id return properties(a)" +
   >    "$$, ?) as (a agtype););"
   > pstmt.setString(1, '{\"id\": 281474976710667}');
   > ```
   > 
   > Additional remark: `id(a)` (automatically generated primary key for the 
vertex a) is not the same as `a.id` (property id of the vertex a).
   
   


-- 
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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to