MCPcopy Index your code
hub / github.com/microsoft/SandDance / selectExact

Function selectExact

packages/sanddance/src/expression.ts:34–44  ·  view source on GitHub ↗
(column: Column, value: SearchExpressionValue)

Source from the content-addressed store, hash-verified

32}
33
34export function selectExact(column: Column, value: SearchExpressionValue) {
35 if (value == null) {
36 return selectNullOrEmpty(column);
37 }
38 const searchExpression: SearchExpression = {
39 name: column.name,
40 operator: '==',
41 value,
42 };
43 return searchExpression;
44}
45
46export function selectNone(column: Column, values: string[]) {
47 const expressions = values.map((value, i) => {

Callers 3

selectCategoricalFunction · 0.90
selectQuantitativeFunction · 0.90
selectExactAxisFunction · 0.70

Calls 1

selectNullOrEmptyFunction · 0.70

Tested by

no test coverage detected