.getTable( 'my_table' ) TypeError: undefined is not a function
jstncno opened this issue · comments
Justin Cano commented
Hi,
I am getting an issue when trying to get a table from my client. My code is as follows:
hbase({ host: '127.0.0.1', port: 8080 })
.getTable( 'websites' )
.getSchema(function(error, schema){
console.log(schema);
});
and these are the errors that follow:
.getTable( 'websites' )
^
TypeError: undefined is not a function
Is there another way of getting a table?
Justin Cano commented
This code works:
hbase({ host: '127.0.0.1', port: 8080 })
.table( 'websites' )
.schema(function(error, schema){
console.log(schema);
});
Seems like there aren't anymore 'getters'. Is it possible to get the documentation updated?
Worms David commented
I dont have much time at the moment.
Justin Cano commented
No problem, thanks for the update. I will be playing around with your module over the next couple weeks, so I might just submit a pull request.
Worms David commented
that would be perfect
Worms David commented
Old issue, closing.