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 document outlines the `FieldPath` class in the Google.Cloud.Firestore library, which is used for identifying parts of a document with an immutable path of field names."],["The `FieldPath` class implements `IEquatable\u003cFieldPath\u003e` and `IComparable\u003cFieldPath\u003e`, allowing for equality checks and comparisons between different paths."],["The class provides a constructor, `FieldPath(String[])`, to create a path from multiple segments, handling segments that may contain dots."],["It includes a static property, `DocumentId`, to reference the ID of a document in queries for sorting or filtering."],["The ordering between field paths is segment-wise using ordinal string comparisons, which is mainly for canonical orderings."]]],[]]