mirror of
https://github.com/darksaid98/oxmysql.git
synced 2026-12-02 06:28:54 +00:00
fix(config): export convertNamedPlaceholders
parseArguments relied on options.namedPlaceholders, which is now always false. Function is now exported directly when enabled (+typed).
This commit is contained in:
1 parent
45aadf7442
commit
f3401eb671
2 files changed
+4
-4
No files matched your search
@@ -1,7 +1,5 @@
|
||||
import type { CFXCallback, CFXParameters } from '../types';
|
||||
import { connectionOptions } from '../config';
|
||||
|
||||
const convertNamedPlaceholders = connectionOptions.namedPlaceholders && require('named-placeholders')();
|
||||
import { convertNamedPlaceholders } from '../config';
|
||||
|
||||
export const parseArguments = (
|
||||
invokingResource: string,
|
||||
|
||||
Reference in new issue
Block a user