Skip to main content

ts-transforms / operations/lib/transforms/selector / default

Class: default

Constructors

new default()

new default(config, matcherConfig): default

Parameters

ParameterType
configSelectorConfig
matcherConfigMatcherConfig

Returns

default

Source

operations/lib/transforms/selector.ts:12

Properties

selector

selector: string

Source

operations/lib/transforms/selector.ts:7


cardinality

static cardinality: InputOutputCardinality = 'one-to-one'

Source

operations/lib/transforms/selector.ts:10

Methods

addMetaData()

addMetaData(doc, selector): void

Parameters

ParameterType
docDataEntity<Record<string, any>, _DataEntityMetadata<Record<string, any>>>
selectorstring

Returns

void

Source

operations/lib/transforms/selector.ts:22


run()

run(doc): null | DataEntity<Record<string, any>, _DataEntityMetadata<Record<string, any>>>

Parameters

ParameterType
docDataEntity<Record<string, any>, _DataEntityMetadata<Record<string, any>>>

Returns

null | DataEntity<Record<string, any>, _DataEntityMetadata<Record<string, any>>>

Source

operations/lib/transforms/selector.ts:31