docs
This commit is contained in:
16
docs/utils/mysqlPool.md
Normal file
16
docs/utils/mysqlPool.md
Normal file
@@ -0,0 +1,16 @@
|
||||
<!-- /docs/utils/mysqlPool.md -->
|
||||
|
||||
# 💾 mysqlPool.js
|
||||
|
||||
MySQL-Verbindungspool für effiziente Datenbankabfragen (z. B. mit `promise-mysql`).
|
||||
|
||||
## Verwendung
|
||||
|
||||
```js
|
||||
const connection = await pool.getConnection();
|
||||
```
|
||||
|
||||
## Zweck
|
||||
|
||||
- Reuse von Verbindungen
|
||||
- Fehlervermeidung bei vielen gleichzeitigen Abfragen
|
||||
Reference in New Issue
Block a user