alasql
Version:
AlaSQL.js - JavaScript SQL database library for relational and graph data manipulation with support of localStorage, IndexedDB, and Excel
17 lines (14 loc) • 368 B
JavaScript
/*
//
// CROSS AND OUTER APPLY for Alasql.js
// Date: 03.11.2014
// (c) 2014, Andrey Gershun
//
*/
yy.Apply = function (params) { return yy.extend(this, params); }
yy.Apply.prototype.toString = function () {
var s = K(this.applymode)+' '+K('APPLY')+' (';
s += this.select.toString()+')';
if(this.as) s += ' '+K('AS')+' '+L(this.as);
return s;
};