toFilterExpression
fun Map.Entry<AbacTagKey, AbacTagValue>.toFilterExpression(matchMissingTagKey: Boolean = true): FilterExpression
Converts one principal tag into a nested query condition.
A wildcard requires only that the key exists. Other values match when the key's value is in the principal tag value set, or, with matchMissingTagKey, when the key is absent or empty.
Return
the nested query condition
fun AbacTags.toFilterExpression(columns: Map<AbacTagKey, QueryField>, schema: QueryModelSchema, matchMissingTagKey: Boolean = true): FilterExpression
Combines all principal tags with AND semantics over a dataset's tag columns (columns, by tag key), with the rules of the tags system field: a key the dataset binds no column for is a tag no record carries.
Return
the combined tag condition