Update packages.
This commit is contained in:
1 parent
84e13a2a10
commit
b3f9dfa01a
3 files changed
+795
-515
No files matched your search
+1
-1
@@ -161,7 +161,7 @@ async function rawQuery(sql: string, data: object): Promise<any> {
|
||||
return Promise.reject(new Error('Unknown database.'));
|
||||
}
|
||||
|
||||
const query = sql?.replaceAll(/\{\{\s*(\w+)(::\w+)?\s*\}\}/g, (...args) => {
|
||||
const query = sql?.replaceAll(/\{\{\s*(\w+)(::\w+)?\s*}}/g, (...args) => {
|
||||
const [, name, type] = args;
|
||||
params.push(data[name]);
|
||||
|
||||
|
||||
Reference in new issue
Block a user