Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions lib/postgrex/result.ex
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ defmodule Postgrex.Result do
* `columns` - The column names;
* `rows` - The result set. A list of lists, each inner list corresponding to a
row, each element in the inner list corresponds to a column;
* `num_rows` - The number of fetched or affected rows;
* `num_rows` - The number of fetched or affected rows, or `:copy_stream` while
a COPY FROM STDIN stream is in progress, or `nil` for multi-command results;
* `connection_id` - The OS pid of the PostgreSQL backend that executed the query;
* `messages` - A list of maps of messages, such as hints and notices, sent by the
driver during the execution of the query.
Expand All @@ -17,7 +18,7 @@ defmodule Postgrex.Result do
command: atom | [atom],
columns: [String.t()] | nil,
rows: [[term] | binary] | nil,
num_rows: integer,
num_rows: integer | :copy_stream | nil,
connection_id: pos_integer,
messages: [map()]
}
Expand Down