forked from foundeo/cfdocs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
foundeo#1664 adding documentation for dbpoolclear
- Loading branch information
Mark Drew
committed
Oct 21, 2024
1 parent
0f420ef
commit 804fe9a
Showing
1 changed file
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ | ||
|
||
"name": "dbpoolclear", | ||
"engines": { | ||
"lucee": { | ||
"notes": "", | ||
"minimum_version": "", | ||
"docs": "https://docs.lucee.org/reference/functions/dbpoolclear.html" | ||
} | ||
}, | ||
"type": "function", | ||
"syntax": "dbPoolClear([, string])", | ||
"returns": "boolean", | ||
"description": "clears all existing datasource connection", | ||
"examples": [ | ||
{ | ||
"title": "dbPoolClear Example", | ||
"description":"Clear all existing datasource connections", | ||
"code":" dbPoolClear();" | ||
}, | ||
{ | ||
"title": "dbPoolClear Example", | ||
"description":"Clear a named datasource connection", | ||
"code":" dbPoolClear(mydatasource);" | ||
} | ||
], | ||
"params": [ | ||
{ | ||
"default": "", | ||
"required": false, | ||
"values": [], | ||
"name": "datasource", | ||
"type": "string", | ||
"description": "specific datasource to clear, if not set all datasources get removed." | ||
} | ||
], | ||
} |