badmfck-api-server 3.0.6 → 3.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -317,6 +317,8 @@ class MysqlAdapter {
|
|
317
317
|
}
|
318
318
|
async query(request, conn) {
|
319
319
|
const query = this.prepareQuery(request);
|
320
|
+
if (this.options.debug || request.debug)
|
321
|
+
(0, LogService_1.logDB)(query);
|
320
322
|
if (request.parseQueryOnly) {
|
321
323
|
return {
|
322
324
|
data: [{ query }],
|