MCPcopy Create free account
hub / github.com/chartbrew/chartbrew / _onChangeQuery

Function _onChangeQuery

client/src/sources/shared/sql/sql-builder.jsx:161–168  ·  view source on GitHub ↗
(value, testAfter = false, noError = false)

Source from the content-addressed store, hash-verified

159 };
160
161 const _onChangeQuery = (value, testAfter = false, noError = false) => {
162 const newSqlRequest = { ...sqlRequest, query: value };
163 setSqlRequest(newSqlRequest);
164
165 if (testAfter) {
166 _onTest(newSqlRequest, noError);
167 }
168 };
169
170 const _onTest = (dr = sqlRequest, noError = false) => {
171 setRequestLoading(true);

Callers 1

SqlBuilderFunction · 0.70

Calls 1

_onTestFunction · 0.70

Tested by

no test coverage detected