You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+6-2
Original file line number
Diff line number
Diff line change
@@ -37,11 +37,15 @@ This package has been tested to work in MySQL 5.5.40 and 5.6.19. Expected suppor
37
37
38
38
The `LiveMysql` constructor makes 3 connections to your MySQL database:
39
39
40
-
* Connection for executing `SELECT` queries (exposed on instance as `db` property)
40
+
* Connection for executing `SELECT` queries (exposed `node-mysql` instance as `db` property)
41
41
* Replication slave connection
42
42
*`information_schema` connection for column information
43
43
44
-
One argument, an object defining the settings. In addition to the [`node-mysql` connection settings](https://github.com/felixge/node-mysql#connection-options), the following settings are available:
44
+
45
+
Argument | Type | Description
46
+
---------|------|---------------------------
47
+
`settings` | `object` | An object defining the settings. In addition to the [`node-mysql` connection settings](https://github.com/felixge/node-mysql#connection-options), the additional settings below are available.
48
+
`callback` | `function` | Optional callback on connection success/failure. Accepts one argument, `error`.
0 commit comments