Skip to content

Commit f741b59

Browse files
clohfinkmarijnh
authored andcommitted
[sql mode] Update for CQL 3.1
1 parent e0fb2b3 commit f741b59

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mode/sql/sql.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -327,9 +327,9 @@ CodeMirror.defineMode("sql", function(config, parserConfig) {
327327
CodeMirror.defineMIME("text/x-cassandra", {
328328
name: "sql",
329329
client: { },
330-
keywords: set("use select from using consistency where limit first reversed first and in insert into values using consistency ttl update set delete truncate begin batch apply create keyspace with columnfamily primary key index on drop alter type add any one quorum all local_quorum each_quorum"),
331-
builtin: set("ascii bigint blob boolean counter decimal double float int text timestamp uuid varchar varint"),
332-
atoms: set("false true"),
330+
keywords: set("add all allow alter and any apply as asc authorize batch begin by clustering columnfamily compact consistency count create custom delete desc distinct drop each_quorum exists filtering from grant if in index insert into key keyspace keyspaces level limit local_one local_quorum modify nan norecursive nosuperuser not of on one order password permission permissions primary quorum rename revoke schema select set storage superuser table three to token truncate ttl two type unlogged update use user users using values where with writetime"),
331+
builtin: set("ascii bigint blob boolean counter decimal double float frozen inet int list map static text timestamp timeuuid tuple uuid varchar varint"),
332+
atoms: set("false true infinity NaN"),
333333
operatorChars: /^[<>=]/,
334334
dateSQL: { },
335335
support: set("commentSlashSlash decimallessFloat"),

0 commit comments

Comments
 (0)