mirror of
https://github.com/darksaid98/oxmysql.git
synced 2026-12-02 06:28:54 +00:00
refactor(profiler): move from logger module
This commit is contained in:
1 parent
c38f646bb9
commit
35c6a9ee7f
5 files changed
+71
-55
No files matched your search
@@ -1,13 +1,14 @@
|
||||
import { parseArguments } from '../utils/parseArguments';
|
||||
import { setCallback } from '../utils/setCallback';
|
||||
import { parseResponse } from '../utils/parseResponse';
|
||||
import { logQuery, logError, runProfiler } from '../logger';
|
||||
import { logQuery, logError } from '../logger';
|
||||
import type { CFXCallback, CFXParameters } from '../types';
|
||||
import type { QueryType } from '../types';
|
||||
import { getConnection } from './connection';
|
||||
import { RowDataPacket } from 'mysql2';
|
||||
import { performance } from 'perf_hooks';
|
||||
import validateResultSet from 'utils/validateResultSet';
|
||||
import { runProfiler } from 'profiler';
|
||||
|
||||
export const rawQuery = async (
|
||||
type: QueryType,
|
||||
|
||||
Reference in new issue
Block a user