Ordering between field paths is primarily to provide canonical orderings for sets of
paths, for example in a FieldMask. This ordering is performed segment-wise,
using ordinal string comparisons.
Constructors
FieldPath(params string[])
public FieldPath(params string[] segments)
Creates a path from multiple segments. Each segment is treated verbatim: it may contain dots, which will lead to the segment being escaped in the
path's string representation.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-17 UTC."],[[["This document provides reference information for the `FieldPath` class within the Google Cloud Firestore API, with version 3.10.0 being the latest and 3.2.0 being the current referenced version."],["The `FieldPath` class represents an immutable path of field names used to identify parts of a document and is implemented with `IEquatable` and `IComparable`."],["A `FieldPath` can be created using the `FieldPath(params string[] segments)` constructor, where each segment is treated as a verbatim string that could include dots."],["The `DocumentId` property is a sentinel `FieldPath` used to sort or filter queries by the ID of the document."],["`FieldPath` ordering is performed segment-wise using ordinal string comparisons, primarily to provide canonical orderings for sets of paths."]]],[]]