Expand description
Field operations: the {"__op":...} values a client sends instead of a literal.
Upstream decodes these in src/Controllers/DatabaseController.js and
src/Adapters/Storage/Mongo/MongoTransform.js. They are wire-visible in both directions:
a client sends them on a write, and Increment is echoed back as its resulting number.
Deliberately no PartialEq, for the same reason as ParseValue: an Op carries
ParseValue, so a derived comparison would inherit the float hazards.
Enums§
- Field
Write - One field of a write body: either a literal value or an operation.
- Op
- A field operation.
- OpPath
- Which write path an op is being decoded on.
Functions§
- classify_
field - Decode one field of a write body.