Statement

public struct Statement

Information about a statement reported by Database.trace(options:_:)

  • sql

    The executed SQL.

  • sql

    The executed SQL.

    Declaration

    Swift

    @available(OSX 10.12, tvOS 10.0, watchOS 3.0, *)
    public var sql: String { get }
  • The executed SQL, with bound parameters expanded.

    Declaration

    Swift

    public var expandedSQL: String { get }