CurrentTimestamp
public class CurrentTimestamp : FunctionExpression, @unchecked SendableAn expression that represents a server-side timestamp.
CurrentTimestamp is used to generate a timestamp on the server.
This is useful for recording current date and time.
Example:
CurrentTimestamp().as("createdAt")
-
Undocumented
Declaration
Swift
public init()