offshore
Version:
An ORM for Node.js
32 lines (23 loc) • 367 B
JavaScript
/**
* DDL Queries
*/
module.exports = {
/**
* Describe a collection
*/
describe: function(cb) {
this.adapter.describe(cb);
},
/**
* Alter a table/set/etc
*/
alter: function(attributes, cb) {
this.adapter.alter(attributes, cb);
},
/**
* Drop a table/set/etc
*/
drop: function(cb) {
this.adapter.drop(cb);
}
};