Navigation Menu

Skip to content

Commit

Permalink
groonga-client: support column_remove
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Jan 3, 2015
1 parent 1b39537 commit 345db08
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/index.html
Expand Up @@ -83,6 +83,7 @@
<script src="scripts/groonga-client/response/table-remove.js"></script>
<script src="scripts/groonga-client/response/column-list.js"></script>
<script src="scripts/groonga-client/response/column-create.js"></script>
<script src="scripts/groonga-client/response/column-remove.js"></script>
<script src="scripts/app.js"></script>
<script src="scripts/services/schema-loader.js"></script>
<script src="scripts/controllers/top-controller.js"></script>
Expand Down
15 changes: 15 additions & 0 deletions app/scripts/groonga-client/response/column-remove.js
@@ -0,0 +1,15 @@
'use strict';

(function() {
function ColumnRemove(rawData) {
GroongaClient.Response.Base.call(this, rawData);
}
GroongaClient.Response.ColumnRemove = ColumnRemove;

ColumnRemove.prototype = Object.create(GroongaClient.Response.Base.prototype);
ColumnRemove.prototype.constructor = ColumnRemove;

ColumnRemove.prototype.isRemoved = function() {
return this.isSuccess() && this.body();
};
})();

0 comments on commit 345db08

Please sign in to comment.