mirror of
https://github.com/darksaid98/oxmysql.git
synced 2026-12-02 14:38:50 +00:00
fix: **Use query instead of execute always**
- mysql2 typeCast doesn´t work on prepared statements
This commit is contained in:
3 files changed
+6
-9
No files matched your search
@@ -1,8 +1,5 @@
|
||||
import { pool } from './pool';
|
||||
import { execute } from './execute';
|
||||
import { format } from 'mysql2';
|
||||
import { parseParameters } from './parser';
|
||||
|
||||
setImmediate(async () => {
|
||||
try {
|
||||
await (await pool.getConnection()).ping();
|
||||
|
||||
Reference in new issue
Block a user