zio.blocks.projection.FieldUpdate
See theFieldUpdate companion object
enum FieldUpdate
A sealed enumeration of field-level update operations.
Each variant describes how a single field should be modified during an Update action on a ProjectionAction.
Provides two APIs:
- '''String-based''' (direct):
FieldUpdate.Increment("user_count", 1L) - '''Selector-based''' (macro):
FieldUpdate.increment[User](_.userCount)which mapsuserCount→user_countviaSqlNameMapper.SnakeCase
Attributes
- Companion
- object
- Source
- FieldUpdate.scala
- Graph
-
- Supertypes
- Known subtypes
Members list
In this article