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."],[[["The `FieldPath` class represents an immutable sequence of field names used to pinpoint specific parts of a document in Firestore."],["This class implements `IEquatable\u003cFieldPath\u003e` and `IComparable\u003cFieldPath\u003e`, providing methods for determining equality and ordering between field paths."],["`FieldPath` objects are created from string arrays, where each string is a segment that might include dots and is treated literally."],["The `DocumentId` property allows referencing a document's ID in queries, enabling sorting and filtering by the document's identifier."],["The ordering of field paths is used for canonical ordering, and is performed segment-wise using ordinal string comparisons."]]],[]]