TracingOptions
public struct TracingOptions : OptionSet
An option for Database.trace(options:_:)
-
The raw “Trace Event Code”.
Declaration
Swift
public let rawValue: CInt
-
Creates a
TracingOptions
from a raw “Trace Event Code”.See:
Declaration
Swift
public init(rawValue: CInt)
-
Reports executed statements.
Declaration
Swift
public static let statement: Database.TracingOptions
-
Reports executed statements and the estimated duration that the statement took to run.
Declaration
Swift
public static let profile: Database.TracingOptions