module DefaultOpSets

rename module to DefaultOpSets

Constants

KListAddOpDef

A bit more complicated is if we have a field that holds key-value pairs, but we want our operations to operate on the underlying values of the key-value pair, and not on the actual key value sets. Here the values are a list type. What happens is if an existing key is passed, the value is added to the set of values for the existing key. If a new key is passed, the new key and its value are added to the list

KListGetKeyforValueOpDef
With the KVP, we might want the keys that contain a given value

note that in this case, the return value is not the same as the value stored in the field, hence the explicit return_value parameter Something to think about is whether this should be some type of recursive operation since the record is key-value, and the field is key-value

KListOpSet
KListSubtractOpDef
ListAddOpDef

We define a field where adding will add the value to the existing list, and subtracting will remove matching values from the list

ListOpSet
ListSubtractOpDef
ReplaceAddOpDef

We define a field where adding will replace the existing value for that field, and subtracting a matching value will set the value to nil

ReplaceOpSet
ReplaceSubtractOpDef
StaticAddOpDef

Static Operations are for fixed values (i.e., any attempts at changes are ignored)

StaticOpSet
StaticSubtractOpDef

Attributes

op_sets_to_def_table[RW]