Skip to content

Commit 98373d4

Browse files
author
Daniel LaBarge
committed
Added docs for DB::disconnect() usage.
1 parent 7829bc0 commit 98373d4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

database.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,10 @@ Sometimes you may need to reconnect to a given database:
104104

105105
DB::reconnect('foo');
106106

107+
Other times you may need to disconnect from the given database due to exceeding the underyling PDO instance's `max_connections` limit:
108+
109+
DB::disconnect('foo');
110+
107111
<a name="query-logging"></a>
108112
## Query Logging
109113

0 commit comments

Comments
 (0)