Skip to content

[FEATURE REQUEST] Transforms / Increment value #44

Description

@theidg

Right now there's no way to increment value (it uses transform):

{
  "writes": [
    {
      "transform": {
        "document": "projects/YOUR_PROJECT_ID/databases/(default)/documents/collectionName/docId",
        "fieldTransforms": [
          {
            "fieldPath": "counter",
            "increment": { "integerValue": "1" }
          }
        ]
      }
    }
  ]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions