Skip to main content

Interface: Where<E>

Representation of a union of tag sets. I.e. this is an event selection that combines multiple Tags selections.

Type parameters

Name
E

Hierarchy

Properties

_dataType

Optional Readonly _dataType: E

Type of the Events which may be returned by the contained tags. Note that this does reflect only locally declared type knowledge; historic events delivered by the Actyx system may not match these types, and this is not automatically detected. It is therefore good practice to carefully review changes to the declared type so that they remain backwards compatible.

Defined in

node_modules/@actyx/sdk/lib/types/tags.d.ts:19

Methods

or

or<E1>(tag): Where<E | E1>

Add an alternative set we may also match. E.g. tag0.or(tag1.and(tag2)).or(tag1.and(tag3)) will match: Events with tag0; Events with both tag1 and tag2; Events with both tag1 and tag3.

Type parameters

Name
E1

Parameters

NameType
tagWhere<E1>

Returns

Where<E | E1>

Defined in

node_modules/@actyx/sdk/lib/types/tags.d.ts:11


toString

toString(): string

Convert to an Actyx Event Service query string.

Returns

string

Defined in

node_modules/@actyx/sdk/lib/types/tags.d.ts:23