Navigation Menu

Skip to content

Commit

Permalink
groonga-client: support column_create
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Jan 3, 2015
1 parent faeb7ca commit a3b3ddb
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 @@ -82,6 +82,7 @@
<script src="scripts/groonga-client/response/table-create.js"></script>
<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/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-create.js
@@ -0,0 +1,15 @@
'use strict';

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

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

ColumnCreate.prototype.isCreated = function() {
return this.isSuccess() && this.body();
};
})();

0 comments on commit a3b3ddb

Please sign in to comment.