Send sends the given message over the connection.
(message pgproto3.BackendMessage)
| 1221 | |
| 1222 | // Send sends the given message over the connection. |
| 1223 | func (h *ConnectionHandler) send(message pgproto3.BackendMessage) error { |
| 1224 | h.backend.Send(message) |
| 1225 | return h.backend.Flush() |
| 1226 | } |
| 1227 | |
| 1228 | // returnsRow returns whether the query returns set of rows such as SELECT and FETCH statements. |
| 1229 | func returnsRow(query ConvertedQuery) bool { |
no test coverage detected