Skip to content

Commit

Permalink
Merge pull request #25 from dhull/fix-gpapp-equery-spec
Browse files Browse the repository at this point in the history
Fix pgapp:equery/3 spec to allow {error, timeout}.
  • Loading branch information
davidw authored Jun 14, 2018
2 parents 90c309a + bc465a6 commit 15c042f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pgapp.erl
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ equery(Sql, Params) ->
-spec equery(Sql :: epgsql:sql_query(),
Params :: list(epgsql:bind_param()),
Timeout :: atom() | integer())
-> epgsql:reply(epgsql:equery_row());
-> epgsql:reply(epgsql:equery_row()) | {error, Reason :: any()};
(PoolName :: atom(),
Sql::epgsql:sql_query(),
Params :: list(epgsql:bind_param()))
Expand Down

0 comments on commit 15c042f

Please sign in to comment.