This repository has been archived by the owner on Nov 3, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathSQLinJS.min.js
9 lines (9 loc) · 12.8 KB
/
SQLinJS.min.js
1
2
3
4
5
6
7
8
9
/**
* SQLinJS
* Manage a JavaScript object database using the SQL syntax.
*
* Copyright 2012-2015, Marc S. Brooks (https://mbrooks.info)
* Licensed under the MIT license:
* http://www.opensource.org/licenses/mit-license.php
*/
eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('9(!1l.1y||(1l.1y&&1z(1l.1y.2y.3L.Q(\'.\',\'\'))<1z(\'1.8.3\'.Q(\'.\',\'\')))){2z 1b 2A(\'C 3M 1y 1.8.3 2B 3N.\');}(x($){7 r=1L;7 t={R:\'3O 3P 3Q 1M V 3R 3S 2C\',18:\'21 1o 3T\',3U:\'21 3V 22\',2D:\'21 3W O\',1A:\'1N 3X\',2E:"1N 1o \'%s\'",1p:"1N X \'%s\'",1B:"1N 3Y \'%s\' V \'%s\' X",23:"24\'t 3Z 1o %s",2F:"24\'t 2G 1o \'%s\'; 1o 2H\'t 22",2I:"24\'t 2G X \'%s\'",2J:"42 \'%s\' 43 44",2K:"45 G 2H\'t 2L 46 G"};7 u={"2M":x(a,b){7 c=$(L);9($.25(z())){z({14:1q,15:1q,M:{},1r:[]});9(1c a===\'1C\'){c.C(\'2N\',a,b)}}10 9($.1s(b)){b()}v c},"47":x(){$(L).48()},"49":x(a){7 b=$(L);r=J;7 c=$(\'<1D></1D>\'),1h=$(\'<26></26>\');$(\'4a\').27($(\'<2O></2O>\').4b(\'4c\',\'C\').27(c,1h));b.C(\'2P\',[\'1E\',\'1h\']);1h.28();16(\'4d 2Q C 4e. 4f 4g 4h ; 2B \\\\g.\');16();16("29 \'\\\\h\' D 4i. 29 \'\\\\c\' 2Q 4j 4k 4l.");T(a)},"2R":x(a,b){7 d=$(L),y=z();9(r){a=$.4m(a);16(\'\\r\\4n> \'+a);y[\'1r\'].1d(2S(a));z(\'1r\',y[\'1r\'])}10 9($.25(z(\'M\'))){v 1O(t.18);}z(\'15\',a);19(J){E/^1F/i.N(a):d.C(\'2T\',b);F;E/^2U/i.N(a):d.C(\'2V\',b);F;E/^2W/i.N(a):d.C(\'2X\',b);F;E/^1G/i.N(a):d.C(\'2Y\',b);F;E/^2Z/i.N(a):d.C(\'30\',b);F;E/^31/i.N(a):d.C(\'32\',b);F;E/^2a/i.N(a):d.C(\'33\',b);F;E/^34/i.N(a):d.C(\'35\',b);F;E/^36/i.N(a):d.C(\'37\',b);F;E/^\\\\c/i.N(a):39();F;E/^\\\\h/i.N(a):3a();F;1t:A(\'1A\',b)}},"2N":x(a,b){9(1c a===\'1C\'){D(7 c V a){9(a.K(c)){z(\'M\',a);16(\'4o 1o \'+c);T(b,J)}10{v A(\'23\',c,b)}}}},"3b":x(a,b){7 c=z(\'M\');9(!17(a)){v A(\'R\',b)}9(c.K(a)){v A(\'23\',a,b)}7 d=11(x(){c[a]={};z(\'M\',c)});12(0,d,J);T(b,J)},"3c":x(a,b,c){7 d=z(\'14\'),y=z(\'M\');9(!y[d]){v A(\'18\',c)}9(!17(a)){v A(\'R\',c)}9(y[d].K(a)){v A(\'2J\',a,c)}7 e=[];D(7 f V b){9(/^((3d)*3e|3f)(\\(\\d+\\))*$/i.N(b[f])){e.1d(f)}}9(e.B===0){v A(\'R\',c)}7 g=11(x(){y[d][a]={2b:e,1P:b,1u:[]};z(\'M\',y)});12(0,g,J);T(c,J)},"3g":x(d,e,f){7 g=$(L),O=z(\'14\'),y=z(\'M\'),U=[],G=0;9(!y[O]){v A(\'18\',f)}9(!17(d)){v A(\'R\',f)}9(!y[O]||!y[O].K(d)){v A(\'1p\',d,f)}7 h=11(x(){7 a=y[O][d][\'1u\'];U=g.C(\'1Q\',y[O],d,[\'*\'],e,f);D(7 i=0;i<U[1].B;i++){7 b=U[1][i];D(7 j=0;j<a.B;j++){7 c=a[j];9(!2c(c,b))1m;a.4p(j,1);G+=1}}y[O][d][\'1u\']=3h(a);z(\'M\',y)});12(G,h,J);T(f,J)},"3i":x(b,c){7 d=z(\'14\'),y=z(\'M\');9(!y[d]){v A(\'18\',c)}9(!17(b)){v A(\'R\',c)}9(!y[d].K(b)){v A(\'1p\',b,c)}7 e=y[d][b][\'1P\'],G=0;7 f=11(x(){7 a=[\'4q\',\'29\'],P=3j(a,e);1H(a,P);G=P.B});12(G,f);T(c,e)},"3k":x(a,b){7 c=z(\'M\');9(!17(a)){v A(\'R\',b)}9(!c&&!c.K(a)){v A(\'2F\',a,b)}7 d=11(x(){3l c[a];z(\'M\',c)});12(0,d,J);T(b,J)},"3m":x(a,b){7 c=z(\'14\'),y=z(\'M\');9(!y[c]){v A(\'18\',b)}9(!17(a)){v A(\'R\',b)}9(!y[c]||!y[c].K(a)){v A(\'2I\',a,b)}7 d=11(x(){3l y[c][a];z(\'M\',y)});12(0,d,J);T(b,J)},"3n":x(f,g,h){7 j=z(\'14\'),y=z(\'M\');9(!y[j]){v A(\'18\',h)}9(!17(f)){v A(\'R\',h)}9(!y[j]||!y[j].K(f)){v A(\'1p\',f,h)}9(!g 4r 1I){g=1b 1I(g)}7 k=11(x(){7 a=y[j][f][\'1P\'];D(7 i=0;i<g.B;i++){7 b={};D(7 c V g[i]){9(g[i].K(c)){7 d=g[i][c].Q(/[\'"](.*)["\']/,\'$1\');9(!a.K(c)){v A(\'1B\',c,f,h)}7 e=a[c].Q(/^([a-4s-Z]+)(?:\\((\\d+)\\))*$/,\'$1\\0$2\').S(\'\\0\'),Y=e[0],3o=($.2d(e[1]))?e[1]:d.B;19(J){E/((3d)*3e)/i.N(Y):b[c]=d.4t(0,3o)||1n;F;E/3f/i.N(Y):b[c]=1z(d);F}}}9(b){y[j][f][\'1u\'].1d(b);z(\'M\',y)}}});9(k){12(0,k,J);T(h,J)}},"3p":x(a,b,c,d){7 e=$(L),O=z(\'14\'),y=z(\'M\'),U=[],G=0;9($.1s(c)){d=c}9(!y[O]){v A(\'18\',d)}9(!17(a)){v A(\'R\',d)}9(!y[O]||!y[O].K(a)){v A(\'1p\',a,d)}7 f=11(x(){U=e.C(\'1Q\',y[O],a,b,c,d);9(U[1]){G=U[1].B}10{v U}});9(f){9(G>0){1H(U[0],U[1])}12(G,f);T(d,U[1])}},"3q":x(a){7 b=z(\'M\');9(!b){v A(\'4u\',a)}7 c=[\'3r\'],G=0,P=1q;7 d=11(x(){P=2e(b,c);1H(c,P);G=P.B});12(G,d);T(a,P)},"3s":x(a){7 b=z(\'14\'),y=z(\'M\');9(!z){v A(\'18\',a)}9($.25(y[b])){v A(\'2D\',a)}7 c=[\'4v\'+\'4w\'+b],G=0,P=1q;7 d=11(x(){P=2e(y[b],c);1H(c,P);G=P.B});12(G,d);T(a,P)},"3t":x(e,f,g,h){7 l=$(L),O=z(\'14\'),y=z(\'M\'),U=[],G=0;9($.1s(g)){h=g}9(!y[O]){v A(\'18\',h)}9(!17(e)){v A(\'R\',h)}9(!y[O]||!y[O].K(e)){v A(\'1p\',e,h)}7 m=11(x(){7 a=y[O][e][\'1P\'],1v=y[O][e][\'1u\'];U=l.C(\'1Q\',y[O],e,[\'*\'],g,h);D(7 i=0;i<U[1].B;i++){7 b=U[1][i];D(7 j=0;j<1v.B;j++){7 c=1v[j];9(!2c(c,b))1m;D(7 k=0;k<f.B;k++){7 d=f[k].Q(/^(\\w+)\\s*=\\s*(?:\'|")*(.+?)(?:"|\')*$/,\'$1\\0$2\').S(\'\\0\'),1R=d[0],1e=d[1];9(!a.K(1R)){v A(\'1B\',1R,e,h)}c[1R]=1e}G+=1}}z(\'M\',y)});9(m){12(G,m,J);T(h,J)}},"3u":x(a,b){7 c=z(\'M\');9(!17(a)){v A(\'R\',b)}9(!c||!c.K(a)){v A(\'2E\',a,b)}z(\'14\',a);16(\'3r 4x\');T(b,J)},"2P":x(g){7 h=$(L);7 j=$(\'#C\'),1E=j.3v(\'1D\'),1h=j.3v(\'26\');D(7 i=0;i<g.B;i++){19(g[i]){E\'1E\':j.2f(\'4y\',x(){1h.28()});F;E\'1h\':7 k=0;1h.2f(\'4z\',x(b){9(b.3w!=13)v;b.4A();7 c=$(L).1e();7 d=$.4B(c.S(/;|\\\\g/),x(a){9(!/^(\\s+|\\\\g+|;)*$/.N(a)){v a}});7 e=d.B;9(e>0){D(7 i=0;i<e;i++){h.C(\'2R\',d[i])}}$(L).1e(1q).28();7 f=z(\'1r\');k=f.B;1E.4C(1E.4D(\'4E\'))}).2f(\'4F\',x(a){7 b=z(\'1r\'),G=b.B;19(a.3w){E 38:k=(k>0)?k-=1:0;F;E 40:k=((k+1)<G)?k+=1:k;F;1t:v}9(G>1){$(L).1e(b[k].I)}});F}}},"2T":x(d){7 e=$(L),I=z(\'15\');19(J){E/^1F\\s+1S/i.N(I):(x(){1i{7 a=/^1F\\s+1S\\s+(\\w+)$/i,Y=I.Q(a,\'$1\');e.C(\'3b\',Y,d)}1j(1a){A(\'R\',d)}})();F;E/^1F\\s+1T/i.N(I):(x(){1i{7 a=/^1F\\s+1T\\s+(\\w+)\\s+\\((.+)\\)$/i,H=I.Q(a,\'$1|$2\').S(/\\|/),Y=H[0],2g=H[1].S(/\\s*,\\s*/);7 b={};D(7 i=0;i<2g.B;i++){7 c=2g[i].S(/\\s+/);b[c[0]]=c[1]}e.C(\'3c\',Y,b,d)}1j(1a){A(\'R\',d)}})();F;1t:A(\'1A\',d)}},"2V":x(a){7 b=$(L),I=z(\'15\');1i{7 c=/^2U\\s+3x\\s+(\\w+)(?:\\s+2h\\s+(.+?))*(?:(?:\\s+2i\\s+2j\\s+(\\w+))*(?:\\s+(2k|2l)*)*(?:\\s+2m\\s+(\\d+))*)*$/i,H=I.Q(c,\'$1\\0$2\\0$3\\0$4\\0$5\').S(\'\\0\'),X=H[0],W=H[1].S(/2n/i);b.C(\'3g\',X,{W:((W[0])?W:1n),1k:H[2],1J:H[3],1U:H[4]},a)}1j(1a){A(\'R\',a)}},"2X":x(a){7 b=$(L),I=z(\'15\');7 c=/^2W\\s+(\\w+)*$/i,X=I.Q(c,\'$1\');b.C(\'3i\',X,a)},"2Y":x(b){7 c=$(L),I=z(\'15\');19(J){E/^1G\\s+1S/i.N(I):(x(){7 a=/^1G\\s+1S\\s+(\\w+)*$/i,Y=I.Q(a,\'$1\');c.C(\'3k\',Y,b)})();F;E/^1G\\s+1T/i.N(I):(x(){7 a=/^1G\\s+1T\\s+(\\w+)*$/i,Y=I.Q(a,\'$1\');c.C(\'3m\',Y,b)})();F;1t:A(\'1A\',b)}},"30":x(a){7 b=$(L),I=z(\'15\'),O=z(\'14\'),y=z(\'M\');1i{7 c=/^2Z\\s+4G\\s+(.+?)\\s+(?:\\((.+)\\)\\s+)*4H\\s+\\((.+)\\)$/i,H=I.Q(c,\'$1\\0$2\\0$3\').S(\'\\0\'),X=H[0],1f=H[1].S(/\\s*,\\s*/),P=H[2].S(/\\s*\\)\\s*,\\s*\\(\\s*/);9(!1f[0]){1f=y[O][X][\'2b\']}7 d=[];D(7 i=0;i<P.B;i++){7 e=P[i].S(/\\s*,\\s*/);9(1f.B!=e.B){v A(\'2K\',a)}d.1d(3y(1f,e))}b.C(\'3n\',X,d,a)}1j(1a){A(\'R\',a)}},"32":x(a){7 b=$(L),I=z(\'15\');1i{7 c=/^31\\s+(.+)\\s+3x\\s+(\\w+)(?:\\s+2h\\s+(.+?))*(?:(?:\\s+2i\\s+2j\\s+(\\w+))*(?:\\s+(2k|2l)*)*(?:\\s+2m\\s+(\\d+))*)*$/i,H=I.Q(c,\'$1\\0$2\\0$3\\0$4\\0$5\\0$6\').S(\'\\0\'),X=H[1],1f=H[0].S(/\\s*,\\s*/),W=H[2].S(/2n/i);b.C(\'3p\',X,1f,{W:((W[0])?W:1n),1k:H[3],1J:H[4],1U:H[5]},a)}1j(1a){A(\'R\',a)}},"33":x(a){7 b=$(L),I=z(\'15\');19(J){E/^2a\\s+4I;?$/i.N(I):b.C(\'3q\',a);F;E/^2a\\s+4J;?$/i.N(I):b.C(\'3s\',a);F;1t:A(\'1A\',a)}},"35":x(a){7 b=$(L),I=z(\'15\');1i{7 c=/^34\\s+(\\w+)\\s+4K\\s+(.+?)(?:\\s+2h\\s+(.+?))*(?:(?:\\s+2i\\s+2j\\s+(\\w+))*(?:\\s+(2k|2l)*)*(?:\\s+2m\\s+(\\d+))*)*$/i,H=I.Q(c,\'$1\\0$2\\0$3\\0$4\\0$5\').S(\'\\0\'),X=H[0],1f=H[1].S(/\\s*,\\s*/),W=H[2].S(/2n/i);b.C(\'3t\',X,1f,{W:((W[0])?W:1n),1k:H[3],1J:H[4],1U:H[5]},a)}1j(1a){A(\'R\',a)}},"37":x(a){7 b=$(L),I=z(\'15\');7 c=/^36\\s+(\\w+)$/i,Y=I.Q(c,\'$1\');b.C(\'3u\',Y,a)},"1Q":x(c,d,e,f,g){7 h=c[d][\'2b\'],1v=c[d][\'1u\'],P=[],G=0;D(7 i=0;i<1v.B;i++){7 l=1v[i],1w={},1V=1q;9(e[0]==\'1\'||e[0]==\'*\'){e=h}D(7 j=0;j<e.B;j++){7 n=e[j];D(7 k=0;k<h.B;k++){7 o=h[k],1e=(l[o]!==1n)?l[o]:\'4L\';9(l[n]===1n){v A(\'1B\',n,d,g)}9(!f.W||1V){9(o!=n)1m;9(!1w.K(o)){1w[o]=1e}1m}D(7 m=0;m<f.W.B;m++){7 p=/^\\s*(\\w+)\\s*([!=<>]+|2o)\\s*(.*)\\s+/i,H=f.W[m].Q(p,\'$1\\0$2\\0$3\').S(\'\\0\');9($.4M(H[0],h)===-1){v A(\'1B\',H[0],d,g)}7 q=3z(H,o,1e);19(q){E 0:1V=J;F;E 2:v A(\'R\',g);1t:9(o!=n)1m;9(!1w.K(o)){1w[o]=1e}F}}}}9(!1V){9(1z(f.1U)<=G)1m;P.1d(1w);G+=1}}9(f.1k&&f.1J==\'4N\'){P.1J(x(a,b){v(a[f.1k]<b[f.1k])?1:((b[f.1k]<a[f.1k])?-1:0)})}v[e,P]}};$.2y.C=x(a){9(u[a]){v u[a].3A(L,1I.4O.3B.4P(1W,1))}10 9(1c a===\'1C\'||!a){v u.2M.3A(L,1W)}10{$.1M(\'4Q \'+a+\' 4R 4S 22 V C\')}};x 17(a){9(!a)v 1L;v/^\\w+$/g.N(a)}x 2p(a){9(1z(a)==a)v J}x 3y(a,b){7 c={};D(7 i=0;i<a.B;i++){c[a[i]]=b[i]}v c}x 3j(a,b){7 c=[];D(7 d V b){9(b.K(d)){7 e={};D(7 i=0;i<a.B;i++){e[a[i]]=(i===0)?d:b[d]}c.1d(e)}}v c}x 2e(a,b){7 c=[];D(7 d V a){9(a.K(d)){7 e={};e[b]=d;c.1d(e)}}v c}x 2c(a,b){D(7 c V a){9(a.K(c)){9(a[c]!==b[c]){v 1L}}}D(7 d V b){9(b.K(d)){9(a[d]!==b[d]){v 1L}}}v J}x 3h(a){7 b=[];D(7 c V a){9(a.K(c)){9(a[c]===1n)1m;b.1d(a[c])}}v b}x 11(a){1i{9($.1s(a)){7 b=1b 2q().3C(),1M=a();9(1M)v 0;7 c=1b 2q().3C();v((c-b)/4T).4U(2)}}1j(1a){1O(1a);}}x 3z(a,b,c){9(a.B!=3||!a[2])v 2;7 d=a[0],1X=a[1],1Y=a[2];9(b!=d)v;9(!/^([!=]+|<>|2o)$/i.N(1X)&&2p(c)&&2p(1Y)){7 e=c,1K=1Y;19(1X){E\'<\':9(e<1K)v 1;F;E\'>\':9(e>1K)v 1;F;E\'<=\':9(e<=1K)v 1;F;E\'>=\':9(e>=1K)v 1;F}}10{7 f=c,1g=1Y.Q(/\'(.*)\'/,\'$1\');f=(!$.2d(f))?f.3D():f;1g=(!$.2d(1g))?1g.3D():1g;19(1X.4V()){E\'=\':9(f==1g)v 1;F;E\'!=\':9(f!=1g)v 1;F;E\'<>\':9(f!=1g)v 1;F;E\'2o\':7 g=1g.Q(/^%+|%+$/g,\'(.*)\');9(c.2L(1b 4W(\'^\'+g+\'$\',\'i\'))){v 1}F}}v 0}x 2S(a){v{I:a,4X:1b 2q().4Y()}}x 3a(){1l.4Z(\'50://51.52.53/C/#2C\')}x 39(){$(\'#C 1D\').54()}x A(){7 a=1W,1Z=a[0],2r=a[a.B-1];9(!t.K(1Z))v;9(r){7 b=t[1Z];D(7 i=1;i<a.B;i++){b=b.Q(/\\%s/i,a[i])}16(\'55: \'+b);v 1}9($.1s(2r)){T(2r,1Z)}}x 16(a){9(!r)v;$(\'#C 1D\').27(((a)?a:\'\')+\'\\r\\n\')}x 12(a,b,c){9(!r)v;7 d=a+\' 56\'+((a===0||a>1)?\'s\':\'\');9(1W.B>1&&!c){16(d+\' V 57 (\'+b+\' 3E)\')}10{16(\'58 59, \'+d+\' 5a\'+((b)?\' (\'+b+\' 3E)\':\'\'))}}x 1H(c,d){9(!r)v;7 e={},G=0;D(7 i=0;i<c.B;i++){7 f=c[i];e[f]=f.B;D(7 j=0;j<d.B;j++){(x(){7 a=d[j],2s=2t(a[f]).B;9(2s>e[f]){e[f]=2s}})()}G+=e[f]+3}c=$.5b(c,x(a){v 2u(2t(a),e[a])});3F(G,c);D(7 k=0;k<d.B;k++){(x(){7 a=d[k],2v=[];D(7 b V a){9(a.K(b)){2v.1d(2u(2t(a[b]),e[b]))}}1x(e[b],2v)})()}1x(G)}x 3F(a,b){1x(a);1x(a,b);1x(a)}x 1x(a,b){7 c=1b 1I(a);16((b)?\'| \'+b.2w(\' | \')+\' |\':\'+\'+c.2w(\'-\')+\'+\')}x 2u(a,b){v a+(1b 1I(b).2w(\' \')).3B(0,b-a.B)}x T(a,b){1i{9($.1s(a)){a(b)}}1j(1a){1O(1a);}}x 1O(a){2z 1b 2A(a);}x z(b,c){9(1l.3G&&1l.2x){7 d=1l.3G;9(1c b===\'20\'&&c){d.3H(b,2x.3I(c))}10 9(1c b===\'1C\'&&!c){(x(){D(7 a V b){9(b.K(a)){d.3H(a,2x.3I(b[a]))}}})()}9(1c b===\'20\'&&!c){v $.3J(d.3K(b))}7 e={};D(7 i=0;i<d.B;i++){b=d.5c(i);e[b]=$.3J(d.3K(b))}v e}10{7 f=$(L);9(1c b===\'20\'&&c){f.y(b,c)}10 9(1c b===\'1C\'&&!c){(x(){D(7 a V b){9(b.K(a)){f.y(b,b[a])}}})()}9(1c b===\'20\'&&!c){v f.y(b)}10{v f.y()}}}})(1y);',62,323,'|||||||var||if||||||||||||||||||||||return||function|data|cache|stdErr|length|SQLinJS|for|case|break|count|parts|query|true|hasOwnProperty|this|_database|test|used|vals|replace|SYNTAX_ERROR|split|runCallback|res|in|conds|table|name||else|calcExecTime|stdStatOut||_active_db|_sql_query|stdOut|validName|NO_DB_SELECTED|switch|err|new|typeof|push|val|cols|str2|input|try|catch|order_by|window|continue|undefined|database|UNKNOWN_TABLE|null|_query_log|isFunction|default|_data|rows|obj|genTermRow|jQuery|parseInt|UNKNOWN_COM|UNKNOWN_FIELD|object|pre|screen|CREATE|DROP|stdTermOut|Array|sort|num2|false|error|Unknown|throwError|_defs|_QueryDB|col|DATABASE|TABLE|limit|skip|arguments|op|val2|code|string|No|exist|CANT_CREATE_DB|Can|isEmptyObject|textarea|append|focus|Type|SHOW|_cols|compareObj|isNumeric|getObjKeys|on|defs|WHERE|ORDER|BY|ASC|DESC|LIMIT|AND|LIKE|validNum|Date|func|len|String|padStrRgt|arr|join|JSON|fn|throw|Error|or|syntax|NO_TABLES_USED|UNKNOWN_DB|CANT_DROP_DB|drop|doesn|CANT_DROP_TABLE|TABLE_EXISTS|WRONG_VALUE_COUNT|match|init|importDatabase|div|_bindEvents|to|executeQuery|logFormat|_Create|DELETE|_Delete|DESCRIBE|_Describe|_Drop|INSERT|_Insert|SELECT|_Select|_Show|UPDATE|_Update|USE|_Use||clearTerminal|viewHelp|createDatabase|createTable|VAR|CHAR|INT|deleteFrom|reindexArray|describeTable|getObjAsCols|dropDatabase|delete|dropTable|insertInto|size|selectFrom|showDatabases|Database|showTables|updateSet|useDatabase|find|which|FROM|getValsAsObj|testExpr|apply|slice|getMilliseconds|toLowerCase|sec|genTermHeader|sessionStorage|setItem|stringify|parseJSON|getItem|jquery|requires|greater|You|have|an|your|SQL|selected|NO_DB_EXIST|databases|tables|command|column|create|||Table|already|exists|Column|value|destroy|removeData|initTerminal|body|attr|id|Welcome|monitor|Command|ends|with|help|clear|the|terminal|trim|nsql|Imported|splice|Field|instanceof|zA|substring|NO_DB_EXISTS|Tables|_in_|changed|click|keypress|preventDefault|grep|scrollTop|prop|scrollHeight|keyup|INTO|VALUES|DATABASES|TABLES|SET|NULL|inArray|desc|prototype|call|Method|does|not|100|toFixed|toUpperCase|RegExp|time|getTime|open|http|nuxy|github|io|empty|ERROR|row|set|Query|OK|affected|map|key'.split('|'),0,{}));