PGResultStatus
public enum PGResultStatus
Result Status
values
emptyQuery
The string sent to the server was empty.
commandOK
Successful completion of a command returning no data.
tuplesOK
Successful completion of a command returning data (such as a SELECT or SHOW).
copyOut
Copy Out (from server) data transfer started.
copyIn
Copy In (to server) data transfer started.
badResponse
The server’s response was not understood.
nonfatalError
A nonfatal error (a notice or warning) occurred.
fatalError
A fatal error occurred.
copyBoth
Copy In/Out (to and from server) data transfer started.
This feature is currently used only for streaming replication, so this status
should not occur in ordinary applications.
singleTuple
The PGresult contains a single result tuple from the current command.
This status occurs only when single-row mode has been selected for the query
-
Undocumented
Declaration
Swift
case emptyQuery
-
Undocumented
Declaration
Swift
case commandOK
-
Undocumented
Declaration
Swift
case tuplesOK
-
Undocumented
Declaration
Swift
case copyOut
-
Undocumented
Declaration
Swift
case copyIn
-
Undocumented
Declaration
Swift
case badResponse
-
Undocumented
Declaration
Swift
case nonfatalError
-
Undocumented
Declaration
Swift
case fatalError
-
Undocumented
Declaration
Swift
case copyBoth
-
Undocumented
Declaration
Swift
case singleTuple
-
Undocumented
Declaration
Swift
init?(execStatus: ExecStatusType)