-
-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update docs for Access member expression
- Loading branch information
1 parent
722dd40
commit 177df6a
Showing
4 changed files
with
24 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
### Member Access Expression | ||
|
||
GitQL support Composite Type inspired by PostgreSQL, to access member of composite type | ||
you should use `.` operator like in any programming language but with putting the composite value in `()` like | ||
`(user).username` to make it different from table column `table.column` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,19 @@ | ||
The GQL has a basic type system with only four types to be used for safe functions call and expressions. | ||
|
||
### Types information's | ||
| Name | Description | | ||
| -------------- | ------------------------------------------- | | ||
| Any | Used to represent Any data type | | ||
| Text | Used to represent string literal | | ||
| Integer | Used to represent integers | | ||
| Float | Used to represent floats | | ||
| Boolean | Used to represent boolean value | | ||
| Date | Used to represent date | | ||
| Time | Used to represent time | | ||
| DateTime | Used to represent date & time | | ||
| Array(type) | Used to represent an array of type | | ||
| Range(type) | Used to represent a range of type | | ||
| Variant(types) | Used to represent a variant of types | | ||
| Optional(type) | Used to represent a optional type or none | | ||
| Varargs(type) | Used to represent a variable arguments type | | ||
| Name | Description | | ||
| -------------- | -------------------------------------------- | | ||
| Any | Used to represent Any data type | | ||
| Text | Used to represent string literal | | ||
| Integer | Used to represent integers | | ||
| Float | Used to represent floats | | ||
| Boolean | Used to represent boolean value | | ||
| Date | Used to represent date | | ||
| Time | Used to represent time | | ||
| DateTime | Used to represent date & time | | ||
| Array(type) | Used to represent an array of type | | ||
| Range(type) | Used to represent a range of type | | ||
| Variant(types) | Used to represent a variant of types | | ||
| Optional(type) | Used to represent a optional type or none | | ||
| Varargs(type) | Used to represent a variable arguments type | | ||
| Composite | Used to represent a composite of other types | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters