You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@age.apache.org by de...@apache.org on 2022/11/30 05:03:02 UTC

[age-website] branch master updated: Update types.md

This is an automated email from the ASF dual-hosted git repository.

dehowef pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/age-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 9b40b6d7 Update types.md
9b40b6d7 is described below

commit 9b40b6d7839c2a6c46ba0e3e5628341fb12ea2f2
Author: Dehowe Feng <80...@users.noreply.github.com>
AuthorDate: Wed Nov 30 13:02:58 2022 +0800

    Update types.md
    
    Corrected information about boolean values and null typecasting.
---
 docs/intro/types.md | 2 --
 1 file changed, 2 deletions(-)

diff --git a/docs/intro/types.md b/docs/intro/types.md
index 6687c1be..4db57864 100644
--- a/docs/intro/types.md
+++ b/docs/intro/types.md
@@ -227,8 +227,6 @@ AGE provides the standard Cypher type boolean. The boolean type can have several
 
 Boolean constants can be represented in Cypher queries by the keywords TRUE, FALSE, and NULL.
 
-Note that the parser automatically understands that TRUE and FALSE are of type boolean, but this is not so for NULL because that can have any type. So in some contexts you might have to cast NULL to boolean explicitly, for example NULL::boolean. Conversely, the cast can be omitted from a string-literal Boolean value in contexts where the parser can deduce that the literal must be of type boolean.
-
 Input/Output Format
 
 Query