Skip to content

Commit

Permalink
updated .recase/couchbase_n1ql_keywords.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
HariSekhon committed Jan 20, 2016
1 parent 73c732e commit 7cf6242
Showing 1 changed file with 20 additions and 7 deletions.
27 changes: 20 additions & 7 deletions .recase/couchbase_n1ql_keywords.conf
Original file line number Diff line number Diff line change
@@ -1,13 +1,26 @@
# vim:ts=4:sts=4:sw=4:et
#
# Author: Hari Sekhon
# Date: 2016-01-20 19:19:24 +0000 (Wed, 20 Jan 2016)
#
--
-- Author: Hari Sekhon
-- Date: 2016-01-20 19:19:24 +0000 (Wed, 20 Jan 2016)
--
-- http://github.com/harisekhon/tools
--
-- License: see accompanying LICENSE file
--

# Couchbase N1QL keywords - done while sitting in N1QL workshop @ Couchbase office
-- List of keywords to re-case Couchbase N1QL keywords

# http://developer.couchbase.com/documentation/server/4.0/n1ql/n1ql-language-reference/reservedwords.html
-- used by n1qlcase.pl / couchbase_n1qlcase.pl

-- written in the background while sitting in N1QL workshop @ Couchbase office

-- Regex one per line of keywords to re-case by literal replacement
-- whitespace is converted to \s+ for matching so this list can look cleaner
-- leading/trailing whitespace is automatically trimmed
-- don't specify functions such as COUNT() with brackets since brackets are added as one of several possible keyword boundaries

-- http://developer.couchbase.com/documentation/server/4.0/n1ql/n1ql-language-reference/reservedwords.html

-- keywords
ALL
ALTER
ANALYZE
Expand Down

0 comments on commit 7cf6242

Please sign in to comment.