Skip to content

Commit 9b11bba

Browse files
authored
Update README.md due setdb feature database name change set
1 parent 2c6378a commit 9b11bba

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ To install the library, copy the libraries/datatables.php file into your applica
1919

2020

2121
## Function Reference
22+
23+
### $this->setdb($database = 'default')
24+
Sets the name of the database configuration, if need another apart of default,
25+
The name of the database its optional.
26+
2227
Note: you can use method chaining for more compact syntax.
2328
### $this->datatables->select($columns);
2429
Sets which columns to fetch from the specified table.

0 commit comments

Comments
 (0)