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(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-01 UTC."],[[["This webpage details the `FieldPath` class within the Google.Cloud.Firestore namespace, which is utilized for identifying specific parts of a Firestore document."],["The latest version of the `FieldPath` class documented is 3.10.0, with numerous previous versions, going as far back as 2.3.1, also listed."],["`FieldPath` objects are immutable and can be compared and ordered using methods like `CompareTo` to provide canonical orderings for sets of paths."],["The `DocumentId` property serves as a sentinel field path, allowing queries to sort or filter documents by their unique IDs."],["A `FieldPath` object can be created via a constructor taking a string array of segments, which must be non-null and contain no null elements."]]],[]]