ArcadeDB Version: ArcadeDB Server v23.1.1 (build aa687e4/1673895089679/main)
JDK Version: OpenJDK (zsrc11.54.25-jdk11.0.14.1) [I think]
OS: Windows 11 Home (21H2)
Expected behavior
Running queries creates new nodes.
Actual behavior
Running CREATE queries doesn't create new nodes BUT does correctly update the schema (checked through the web Arcade Studio).
Related behaviour
- Inside my project, read queries work and correctly show output
- In Arcade Studio,
CREATE queries work
Steps to reproduce
Requirements
- Have a golang project
- Run ArcadeDB with the Postgres plug-in
- Have a graph database called
test
- Install the
pq package referenced in the ArcadeDB docs
Steps
- Open new database connection
newDb, err := sql.Open("postgres", "user=root password=xxx dbname=test sslmode=disable")
- Type your write cypher script
cypher := "{cypher} CREATE (n:Foo) RETURN n;"
- Run the query
newDb.Exec(cypher) or newDb.Query(cypher)
Further notes
Maybe this is something simple like enclosing the queries in transactions or comiting? However, I also tried:
- Running a
:commit query after, did not change anything
- Suffixing
:commit to the query itself, did not change anything
- Trying to run
newDb.Begin() fails because of some weird error. I guess this is because somehow that doesn't work with cypher queries or a graph database?
ArcadeDB Version: ArcadeDB Server v23.1.1 (build aa687e4/1673895089679/main)
JDK Version: OpenJDK (zsrc11.54.25-jdk11.0.14.1) [I think]
OS: Windows 11 Home (21H2)
Expected behavior
Running queries creates new nodes.
Actual behavior
Running
CREATEqueries doesn't create new nodes BUT does correctly update the schema (checked through the web Arcade Studio).Related behaviour
CREATEqueries workSteps to reproduce
Requirements
testpqpackage referenced in the ArcadeDB docsSteps
newDb, err := sql.Open("postgres", "user=root password=xxx dbname=test sslmode=disable")cypher := "{cypher} CREATE (n:Foo) RETURN n;"newDb.Exec(cypher)ornewDb.Query(cypher)Further notes
Maybe this is something simple like enclosing the queries in transactions or comiting? However, I also tried:
:commitquery after, did not change anything:committo the query itself, did not change anythingnewDb.Begin()fails because of some weird error. I guess this is because somehow that doesn't work with cypher queries or a graph database?