Oops, forgot the documentation fix
This commit is contained in:
@@ -309,8 +309,7 @@ write_many(Db, Tbl, Data) ->
|
|||||||
%% Data = [{Column :: atom(), Value :: sql_value()}]
|
%% Data = [{Column :: atom(), Value :: sql_value()}]
|
||||||
%% @doc
|
%% @doc
|
||||||
%% Updates rows into Tbl table such that the Value matches the
|
%% Updates rows into Tbl table such that the Value matches the
|
||||||
%% value in Key with Data. Returns RowID of the first updated
|
%% value in Key with Data.
|
||||||
%% record.
|
|
||||||
%% @end
|
%% @end
|
||||||
%%--------------------------------------------------------------------
|
%%--------------------------------------------------------------------
|
||||||
-spec update(atom(), {atom(), sql_value()}, [{atom(), sql_value()}]) -> sql_non_query_result().
|
-spec update(atom(), {atom(), sql_value()}, [{atom(), sql_value()}]) -> sql_non_query_result().
|
||||||
@@ -323,8 +322,7 @@ update(Tbl, {Key, Value}, Data) ->
|
|||||||
%% Data = [{Column :: atom(), Value :: sql_value()}]
|
%% Data = [{Column :: atom(), Value :: sql_value()}]
|
||||||
%% @doc
|
%% @doc
|
||||||
%% Updates rows into Tbl table in Db database such that the Value
|
%% Updates rows into Tbl table in Db database such that the Value
|
||||||
%% matches the value in Key with Data. Returns ID of the first
|
%% matches the value in Key with Data.
|
||||||
%% updated record.
|
|
||||||
%% @end
|
%% @end
|
||||||
%%--------------------------------------------------------------------
|
%%--------------------------------------------------------------------
|
||||||
-spec update(atom(), atom(), {atom(), sql_value()}, [{atom(), sql_value()}]) -> sql_non_query_result().
|
-spec update(atom(), atom(), {atom(), sql_value()}, [{atom(), sql_value()}]) -> sql_non_query_result().
|
||||||
|
|||||||
Reference in New Issue
Block a user