MCPcopy Create free account
hub / github.com/ronreiter/interactive-tutorials / set

Function set

static/js/codemirror/mode/sql/sql.js:210–214  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

208 var sqlKeywords = "alter and as asc between by count create delete desc distinct drop from having in insert into is join like not on or order select set table union update values where ";
209
210 function set(str) {
211 var obj = {}, words = str.split(" ");
212 for (var i = 0; i < words.length; ++i) obj[words[i]] = true;
213 return obj;
214 }
215
216 CodeMirror.defineMIME("text/x-sql", {
217 name: "sql",

Callers 10

sql.jsFile · 0.70
html4.pyFile · 0.50
__init__Method · 0.50
keysMethod · 0.50
domainsMethod · 0.50
__keylistMethod · 0.50
getNamespacesMethod · 0.50
psetMethod · 0.50
__init__Method · 0.50
sortMethod · 0.50

Calls 1

splitMethod · 0.45

Tested by

no test coverage detected