Skip to content

Commit

Permalink
Update db2.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Liam Allan authored Feb 5, 2017
1 parent f69709b commit 88e6c57
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/db2.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ All the DB2 functions are within the `db2` namespace.
db2.freeEnv(env)
```

***

#### `allocConnection` - Allocate a connection

##### Parameters
Expand All @@ -47,7 +49,7 @@ All the DB2 functions are within the `db2` namespace.
* Returns connection handle as `number`.
* Always keep the handle stored so you are able to correctly disconnect at the end of the script.

```
```lua
local env = db2.allocEnv()
print(env)

Expand Down

0 comments on commit 88e6c57

Please sign in to comment.