hive@0.3.11
Functions
query
query(qs, options, callback) ⇒ Operation
Execute an SQL statement
Param | Type | Description |
---|---|---|
qs | string | SQL statement |
options | object | (Optional) options for executing sql statement |
callback | function | An optional callback function |
Example: Get patient count from hive database
query("select count(*) from patient");