apache / apache/age-website

QUESTION: Node Constraints on Property

Open
#204 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
42
Forks
69
PR merge metrics
No merged PRs in 30d

Description

Is there a way to create constraints for node/vertex properties? I want to use concurrent loading of AGE but need constraints to avoid multiple threads from creating duplicate nodes/vertex. I tried this:

```CREATE UNIQUE INDEX mesh_name_ids
ON pubmed."Article"
((properties->>'pmid'));
```

but I get this error:
```
operator does not exist: ag_catalog.agtype ->> unknown
Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
```

Are constraints on a Node property possible?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.