Skip to main content

FieldSetter

A constructor object to specify Field's to update in various operations.

from StructNoSQL import FieldSetter
FieldSetter(field_path=str, value_to_set=Any, query_kwargs=Optional[dict])

Usage#

Parameters#

Property nameRequiredAccepted typesDefaultDescription
field_pathYESstr-The path expression to target the attribute to set/update in your record. See Field path selectors
value_to_setYESAnyThe value that will be set for the specified field_path of the setter.
query_kwargsNOdictNoneUsed to pass data to populate a field_path that contains keys. See example below :