I plan to make AGE support in node-pg-type. #1715
-
node js developers is mainly use the client of the project called node-postgres. The node-postgres is not officially supporting "agtype" (type id 17260). I think it's a problem that can be solved by supporting "agtype" in a project called pg-type i going to make a pull request for the pg-type project. It's a fork branch here. The test case code below and |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
@apache/age-committers I don't have enough knowledge about agtype yet, so I'm going to receive more test cases First of all, I would like to study with the information of this link. |
Beta Was this translation helpful? Give feedback.
-
Oh... I'm sorry. @emotionbug didn't know that they had already developed parser within the age project driver/nodejs Maybe I should've looked it up earlier.. |
Beta Was this translation helpful? Give feedback.
As everyone knows, the data structure in Apache AGE is not strictly JSON.
it is similar to JSON, but is designed to hold more specialized types.
so, developers wrote this rule as ANTRL Code.
i took it and made it available to JAVA(JDBC) and JavaScript(node-postgres).
i think these things should evolve and become more convenient over time.
so, i think this is a good attempt.
and, also a lot more todo, like fixing the ageviewer...
( refactor to next.js and typescript.... / version sepcific issues.... )