CurrentDocument
public struct CurrentDocument : Expression, BridgeWrapperAn expression that represents the current document being processed.
Example:
// Define the current document as a variable "doc"
firestore.pipeline().collection("books")
.define([CurrentDocument().as("doc")])
// Access a field from the defined document variable
.select([Variable("doc").getField("title")])
-
Undocumented
Declaration
Swift
public init()