We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bff33e0 commit 9618d88Copy full SHA for 9618d88
lib/myxql.ex
@@ -181,7 +181,7 @@ defmodule MyXQL do
181
MySQL error code 1792 (ER_CANT_EXECUTE_IN_READ_ONLY_TRANSACTION): Cannot execute statement in a READ ONLY transaction.
182
183
"""
184
- @spec start_link([start_option()]) :: {:ok, pid()} | {:error, MyXQL.Error.t()}
+ @spec start_link([start_option()]) :: GenServer.on_start()
185
def start_link(options) do
186
options = ensure_valid_error_codes!(options)
187
DBConnection.start_link(MyXQL.Connection, options)
0 commit comments