Skip to content

Commit

Permalink
Adds Cql file comments information to README
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Dougal authored and chuckydev committed Sep 22, 2017
1 parent a1eb1f4 commit 3718c45
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,23 @@ as a traditional relational database.
inconsistent schema across nodes in case of split brain or other situation. `cqlmigrate` tries to
alleviate this with appropriate consistency levels.
## Cql File Comments
There are a number of ways to add comments to your `cql` files.
For inline comments prepend `--` to your comment, e.g:
-- Select Queries
SELECT * FROM schema_updates;
For multiline comments wrap them with `/*` and `*/`, e.g:
/*
Added by John Smith
19th September 2017
*/
SELECT * FROM schema_updates;
# Contributors
Originally developed by the Cirrus team at Sky.
Expand Down

0 comments on commit 3718c45

Please sign in to comment.