From ececb9001f647f160ebdd703abb3b554b4e49a6e Mon Sep 17 00:00:00 2001 From: Alexey Romanov Date: Tue, 11 Jan 2011 13:48:18 +0300 Subject: [PATCH] Fix signature in documentation --- src/sqlite3.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sqlite3.erl b/src/sqlite3.erl index 7bb4a92..8a402c5 100644 --- a/src/sqlite3.erl +++ b/src/sqlite3.erl @@ -333,7 +333,7 @@ write_many(Db, Tbl, Data) -> gen_server:call(Db, {write_many, Tbl, Data}). %%-------------------------------------------------------------------- -%% @spec update(Tbl :: atom(), Key :: atom(), Value, Data) -> sql_non_query_result() +%% @spec update(Tbl :: atom(), {Key :: atom(), Value}, Data) -> sql_non_query_result() %% Value = any() %% Data = [{Column :: atom(), Value :: sql_value()}] %% @doc @@ -346,7 +346,7 @@ update(Tbl, {Key, Value}, Data) -> update(?MODULE, Tbl, {Key, Value}, Data). %%-------------------------------------------------------------------- -%% @spec update(Db :: atom(), Tbl :: atom(), Key :: atom(), Value, Data) -> sql_non_query_result() +%% @spec update(Db :: atom(), Tbl :: atom(), {Key :: atom(), Value}, Data) -> sql_non_query_result() %% Value = sql_value() %% Data = [{Column :: atom(), Value :: sql_value()}] %% @doc