PipelineResult
public struct PipelineResult : @unchecked SendableUndocumented
-
The reference of the document, if the query returns the
__name__field.Declaration
Swift
public let ref: DocumentReference? -
The ID of the document for which this
PipelineResultcontains data, if available.Declaration
Swift
public let id: String? -
The time the document was created, if available.
Declaration
Swift
public let createTime: Timestamp? -
The time the document was last updated when the snapshot was generated.
Declaration
Swift
public let updateTime: Timestamp? -
Retrieves all fields in the result as a dictionary.
Declaration
Swift
public let data: [String : Sendable?] -
Retrieves the field specified by
fieldPath.Declaration
Swift
public func get(_ fieldName: String) -> Sendable?Parameters
fieldPathThe field path (e.g., “foo” or “foo.bar”).
Return Value
The data at the specified field location or
nilif no such field exists. -
Retrieves the field specified by
fieldPath.Declaration
Swift
public func get(_ fieldPath: FieldPath) -> Sendable?Parameters
fieldPathThe field path (e.g., “foo” or “foo.bar”).
Return Value
The data at the specified field location or
nilif no such field exists. -
Retrieves the field specified by
fieldPath.Declaration
Swift
public func get(_ field: Field) -> Sendable?Parameters
fieldPathThe field path (e.g., “foo” or “foo.bar”).
Return Value
The data at the specified field location or
nilif no such field exists.