Skip to content

Commit

Permalink
Update show warnings example to use text protocol (#177)
Browse files Browse the repository at this point in the history
  • Loading branch information
greg-rychlewski authored Feb 19, 2024
1 parent 52047ad commit 280b3ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/myxql/result.ex
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ defmodule MyXQL.Result do
If `result.num_warnings` is non-zero it means there were warnings and they can be
retrieved by making another query:
MyXQL.query!(conn, "SHOW WARNINGS")
MyXQL.query!(conn, "SHOW WARNINGS", [], query_type: :text)
"""

Expand Down

0 comments on commit 280b3ac

Please sign in to comment.