-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add docs for using exclamation mark short hand in types #764
Add docs for using exclamation mark short hand in types #764
Conversation
Thanks for the documentation updates. The preview documentation has now been torn down - reopening this PR will republish it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm - just one small comment.
@@ -105,6 +105,7 @@ However, not all types can be used in all places. | |||
|=== | |||
|
|||
All Cypher types contain the `null` value. To make them not nullable, `NOT NULL` can be appended to the end of the type (e.g. `BOOLEAN NOT NULL`, `LIST<FLOAT NOT NULL>`). | |||
A shorthand syntax equivalent, introduced in version 5.14, for `NOT NULL` is to use an exclamation mark `!` (e.g. `INTEGER!`, `LIST<STRING!>`). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A shorthand syntax equivalent, introduced in version 5.14, for `NOT NULL` is to use an exclamation mark `!` (e.g. `INTEGER!`, `LIST<STRING!>`). | |
A shorthand syntax equivalent, introduced in Neo4j 5.14, for `NOT NULL` is to use an exclamation mark `!` (e.g. `INTEGER!`, `LIST<STRING!>`). |
7361030
to
e77fac4
Compare
IS :: INTEGER NOT NULL now equivalent to IS :: INTEGER! --------- Co-authored-by: Jens Pryce-Åklundh <[email protected]>
IS :: INTEGER NOT NULL
now equivalent to
IS :: INTEGER!