Merged interrupt after timeout pr (#71)

* Merged interrupt after timeout pr

* Bump version number
This commit is contained in:
Maas-Maarten Zeeman
2022-01-03 15:10:40 +01:00
committed by GitHub
parent 852c3286cf
commit f60a0b45e7
5 changed files with 69 additions and 19 deletions

View File

@@ -35,6 +35,7 @@
bind/5,
column_names/4,
column_types/4,
interrupt/1,
close/3
]).
@@ -128,6 +129,10 @@ column_names(_Db, _Stmt, _Ref, _Dest) ->
column_types(_Db, _Stmt, _Ref, _Dest) ->
erlang:nif_error(nif_library_not_loaded).
%% @doc Interrupt all active queries.
interrupt(_Db) ->
erlang:nif_error(nif_library_not_loaded).
%% @doc Close the connection.
%%
-spec close(esqlite:connection(), reference(), pid()) -> ok | {error, any()}.