MCPcopy Create free account
hub / github.com/sql-js/sql.js / set

Function set

GUI/codemirror/mode/sql/sql.js:259–263  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

257
258 // turn a space-separated list into an array
259 function set(str) {
260 var obj = {}, words = str.split(" ");
261 for (var i = 0; i < words.length; ++i) obj[words[i]] = true;
262 return obj;
263 }
264
265 // A generic SQL Mode. It's not a standard, it just try to support what is generally supported
266 CodeMirror.defineMIME("text/x-sql", {

Callers 1

sql.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected