Skip to content

Commit 72b97ce

Browse files
committed
Add prototype to change schema name
1 parent e5316a6 commit 72b97ce

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

lib/table.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,10 @@ Table.prototype.getSchema = function() {
104104
return this._schema;
105105
};
106106

107+
Table.prototype.setSchema = function(schema) {
108+
this._schema = schema;
109+
};
110+
107111
Table.prototype.getName = function() {
108112
return this._name;
109113
};

0 commit comments

Comments
 (0)