alasql
Version:
AlaSQL.js - JavaScript SQL database library for relational and graph data manipulation with support of localStorage, IndexedDB, and Excel
22 lines (18 loc) • 399 B
JavaScript
/*
//
// DROP TABLE for Alasql.js
// Date: 03.11.2014
// (c) 2014, Andrey Gershun
//
*/
yy.DropIndex = function (params) { return yy.extend(this, params); }
yy.DropIndex.prototype.toString = function() {
return 'INDEX TABLE' + this.indexid;
}
// DROP TABLE
yy.DropIndex.prototype.compile = function (db) {
var indexid = this.indexid;
return function() {
return 1;
}
};