Skip to content

Commit ba872f1

Browse files
committed
readme: fix Lua syntax and style a bit
1 parent 0b2921f commit ba872f1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ pool:put(conn)
6363

6464
## API Documentation
6565

66-
### `conn = mysql.connect(opts = {})`
66+
### `conn = mysql.connect(opts)`
6767

6868
Connect to a database.
6969

@@ -170,7 +170,7 @@ Quote a query string.
170170
- `quoted_string` on success
171171
- `error(reason)` on error
172172

173-
### `pool = mysql.pool_create(opts = {})`
173+
### `pool = mysql.pool_create(opts)`
174174

175175
Create a connection pool with count of size established connections.
176176

@@ -187,7 +187,7 @@ Create a connection pool with count of size established connections.
187187

188188
*Returns*
189189

190-
- `pool ~=nil` on success
190+
- `pool ~= nil` on success
191191
- `error(reason)` on error
192192

193193
### `conn = pool:get()`

0 commit comments

Comments
 (0)