apache / apache/age

Can not remove the label on a node

Open
#361 4 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C
Stars
4.8k
Forks
523
Avg merge
1d 2h
Merged PRs (30d)
9

Description

**Describe the bug**
I have a label "Game" on a node, I wanna change it to "game", but I tried REMOVE, I got an error:

```syntax error at or near ":"```

**How are you accessing AGE (Command line, driver, etc.)?**
nodejs driver

I am using the official docker :latest

**What data setup do we need to do?**
```pgsql
...
SELECT
*
FROM
cypher('vg-graph', $$
CREATE (g:Game {name: "Front Mission", uid: "Pt6DmC8jnzDy", body: "some text"})
$$) as (n agtype);
...
```

**What is the necessary configuration info needed?**
- no

**What is the command that caused the error?**
```pgsql
SET search_path TO ag_catalog;

SELECT
*
FROM
cypher('vg-graph', $$
MATCH (n {uid:"Pt6DmC8jnzDy"})
REMOVE n:Game
RETURN n
$$) as (n agtype);
```
```
ERROR: syntax error at or near ":"
```

**Expected behavior**
Remove the label

**Environment (please complete the following information):**
- AGE 1.1.0
- PostgreSQL 11.16 (Debian 11.16-1.pgdg90+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 6.3.0-18+deb9u1) 6.3.0 20170516, 64-bit

**Additional context**
no.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.