Skip to content

Commit

Permalink
Update comments.md (#942)
Browse files Browse the repository at this point in the history
  • Loading branch information
foesa-yang authored Nov 25, 2021
1 parent e869f0b commit abf57ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs-2.0/3.ngql-guide/1.nGQL-overview/comments.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ This topic will describe the comments in nGQL.

## Legacy version compatibility

* In Nebula Graph 1.0, there are four comment styles: `#`, `--`, `//`, `/* */`.
* In Nebula Graph 2.0, `--` represents [an edge pattern](../../3.ngql-guide/1.nGQL-overview/3.graph-patterns.md) and cannot be used as comments.
* In Nebula Graph 1.x, there are four comment styles: `#`, `--`, `//`, `/* */`.
* In Nebula Graph 2.x, `--` cannot be used as comments.

## Examples

Expand Down

0 comments on commit abf57ef

Please sign in to comment.