PGTransactionStatus

public enum PGTransactionStatus

In-transaction status

values

idle currently idle

active a command is in progress

Is reported only when a query has been sent to the server and not yet completed.

idleTransaction idle, in a valid transaction block

idleFailedTransaction idle, in a failed transaction block

unkown is reported if the connection is bad

  • currently idle

    Declaration

    Swift

    case idle
  • a command is in progress

    Is reported only when a query has been sent to the server and not yet completed.

    Declaration

    Swift

    case active
  • idle, in a valid transaction block

    Declaration

    Swift

    case idleTransaction
  • is reported if the connection is bad

    Declaration

    Swift

    case unkown
  • Undocumented

    Declaration

    Swift

    init?(transStatus: PGTransactionStatusType)