You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@age.apache.org by GitBox <gi...@apache.org> on 2021/08/29 13:10:29 UTC

[GitHub] [incubator-age] rhizome-ai commented on pull request #87: Adding AGType parsers and driver supports for Python & Go

rhizome-ai commented on pull request #87:
URL: https://github.com/apache/incubator-age/pull/87#issuecomment-907789180


   I am sorry to have kept you waiting so long, Uria. 
   I just finished refactoring. I have modified the package structure, and there are some changes to the API.
   1. To support data changing queries with return values, I merged ExecCypher, QueryCypher into single ExecCypher function.
   2. To support multiple return columns, I added the columnCount(number of RETURN columns) parameter to the ExecCypher function.
   `func (a *AgeTx) ExecCypher(columnCount int, cypher string, args ...interface{}) (*CypherCursor, error)`
   And you can get an Entity array through CyberCursor's GetRow.
   `(c *CypherCursor) GetRow() ([]Entity, error)`
   3. To support multi-hop path, Vertex and Edge objects can be referenced using index in a Path object.
   
   Please refer to samples for details.
   
   And, if you want to use this package in 'go mod', you can use the github.com/rhizome-ai/apache-age-go v0.0.3 package.
   `require( github.com/rhizome-ai/apache-age-go v0.0.3  )`


-- 
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: commits-unsubscribe@age.apache.org

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