UNPKG

alasql

Version:

AlaSQL.js - JavaScript SQL database library for relational and graph data manipulation with support of localStorage, IndexedDB, and Excel

46 lines (37 loc) 728 B
/* // // Query class for Alasql.js // Date: 14.11.2014 // (c) 2014, Andrey Gershun // */ // Table class /** @class Query Main query class */ var Query = alasql.Query = function(params){ this.alasql = alasql; // console.log(12,alasql); // Columns this.columns = []; this.xcolumns = {}; this.selectGroup = []; this.groupColumns = {}; // Data array extend(this,params); }; /** @class Recordset data object */ var Recordset = alasql.Recordset = function(params){ // Data array extend(this,params); }; // View = function(){ // this.data = []; // this.columns = []; // this.ixcolumns = {}; // this.ixdefs = {}; // this.indices = {}; // }; // alasql.View = View;