We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6795101 commit 9720919Copy full SHA for 9720919
1 file changed
lib/exqlite/sqlite3.ex
@@ -62,12 +62,7 @@ defmodule Exqlite.Sqlite3 do
62
Executes an sql script. Multiple stanzas can be passed at once.
63
"""
64
@spec execute(db(), String.t()) :: :ok | {:error, reason()}
65
- def execute(conn, sql) do
66
- case Sqlite3NIF.execute(conn, sql) do
67
- :ok -> :ok
68
- {:error, reason} -> {:error, reason}
69
- end
70
+ def execute(conn, sql), do: Sqlite3NIF.execute(conn, sql)
71
72
@doc """
73
Get the number of changes recently.
0 commit comments