MCPcopy Create free account
hub / github.com/bytebase/bytebase / getStringExpressionString

Function getStringExpressionString

frontend/src/utils/issue/cel.ts:272–277  ·  view source on GitHub ↗
(resource: string, value: string)

Source from the content-addressed store, hash-verified

270 };
271
272 const getStringExpressionString = (resource: string, value: string) => {
273 if (!value) {
274 return "";
275 }
276 return `${resource} == "${value}"`;
277 };
278
279 function buildCondition(
280 condition:

Callers 1

buildConditionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected