Node-mysql-libmysqlclient examplesMySQL bindings for Node.js using libmysqlclient. Check out the Github repo for the source and installation guide. |
|
examples |
./doc/examples.js |
Require modules and define variables |
|
Set database connection settings |
|
Create connection |
|
Check connection status |
|
Show tables in test database Use low-level functions |
|
Show tables in test database Use high-level functions |
|
Show information about connection |
|
Run asynchronous queries and get results |
|
Close connection on exit |
|