Skip to main content

ODBC.query

About

 ```xml var row, result; result = db.query("sql statement"); while (db.nextRow()) { row = db.getData(); console_log("Row[0]: " + row[0] + "\n"); }


Click here to expand Table of Contents

* 1 [Return value](#return-value)
* 2 [Example](#example)
* 3 [See also](#see-also)

### Return value

* bool - True if the statement was successfully invoked.

### Example

* [ODBC Example](/freeswitch/FreeSWITCH-Explained/Databases/ODBC-Example_13173432#about)

### See also

* [ODBC.execute](/freeswitch/FreeSWITCH-Explained/Databases/ODBC.execute_13173409#--)