mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-20 07:46:00 +00:00
fallback - dont'use worker thread in electron
This commit is contained in:
6
packages/web/src/query/queryParserWorkerFallback.js
Normal file
6
packages/web/src/query/queryParserWorkerFallback.js
Normal file
@@ -0,0 +1,6 @@
|
||||
import { splitQuery } from 'dbgate-query-splitter';
|
||||
|
||||
export default function c(data) {
|
||||
const result = splitQuery(data.text, data.options);
|
||||
return result;
|
||||
}
|
||||
Reference in New Issue
Block a user