From 50f64c60b87e8d03fedc3f9f4e655aff8ca9f16c Mon Sep 17 00:00:00 2001 From: Sverker Eriksson Date: Wed, 12 Dec 2018 19:32:24 +0100 Subject: Add empty 'since' attribute for old modules and functions --- lib/odbc/doc/src/odbc.xml | 52 +++++++++++++++++++++++------------------------ 1 file changed, 26 insertions(+), 26 deletions(-) (limited to 'lib/odbc/doc') diff --git a/lib/odbc/doc/src/odbc.xml b/lib/odbc/doc/src/odbc.xml index 4bb1f035f9..4d941b3b36 100644 --- a/lib/odbc/doc/src/odbc.xml +++ b/lib/odbc/doc/src/odbc.xml @@ -29,7 +29,7 @@ - odbc + odbc Erlang ODBC application

This application provides an Erlang interface to communicate @@ -130,8 +130,8 @@ - commit(Ref, CommitMode) -> - commit(Ref, CommitMode, TimeOut) -> ok | {error, Reason} + commit(Ref, CommitMode) -> + commit(Ref, CommitMode, TimeOut) -> ok | {error, Reason} Commits or rollbacks a transaction. Ref = connection_reference() @@ -145,7 +145,7 @@ - connect(ConnectStr, Options) -> {ok, Ref} | {error, Reason} + connect(ConnectStr, Options) -> {ok, Ref} | {error, Reason} Opens a connection to the database. ConnectStr = string() @@ -236,7 +236,7 @@ - disconnect(Ref) -> ok | {error, Reason} + disconnect(Ref) -> ok | {error, Reason} Closes a connection to a database. Ref = connection_reference() @@ -255,8 +255,8 @@ - describe_table(Ref, Table) -> - describe_table(Ref, Table, Timeout) -> {ok, Description} | {error, Reason} + describe_table(Ref, Table) -> + describe_table(Ref, Table, Timeout) -> {ok, Description} | {error, Reason} Queries the database to find out the data types of the columns of the table Table. Ref = connection_reference() @@ -271,8 +271,8 @@ - first(Ref) -> - first(Ref, Timeout) -> {selected, ColNames, Rows} | {error, Reason} + first(Ref) -> + first(Ref, Timeout) -> {selected, ColNames, Rows} | {error, Reason} Returns the first row of the result set and positions a cursor at this row. Ref = connection_reference() @@ -287,8 +287,8 @@ - last(Ref) -> - last(Ref, TimeOut) -> {selected, ColNames, Rows} | {error, Reason} + last(Ref) -> + last(Ref, TimeOut) -> {selected, ColNames, Rows} | {error, Reason} Returns the last row of the result set and positions a cursor at this row. Ref = connection_reference() @@ -303,8 +303,8 @@ - next(Ref) -> - next(Ref, TimeOut) -> {selected, ColNames, Rows} | {error, Reason} + next(Ref) -> + next(Ref, TimeOut) -> {selected, ColNames, Rows} | {error, Reason} Returns the next row of the result set relative the current cursor position and positions the cursor at this row. Ref = connection_reference() @@ -325,8 +325,8 @@ - param_query(Ref, SQLQuery, Params) -> - param_query(Ref, SQLQuery, Params, TimeOut) -> ResultTuple | {error, Reason} + param_query(Ref, SQLQuery, Params) -> + param_query(Ref, SQLQuery, Params, TimeOut) -> ResultTuple | {error, Reason} Executes a parameterized SQL query. Ref = connection_reference() @@ -353,8 +353,8 @@ - prev(Ref) -> - prev(ConnectionReference, TimeOut) -> {selected, ColNames, Rows} | {error, Reason} + prev(Ref) -> + prev(ConnectionReference, TimeOut) -> {selected, ColNames, Rows} | {error, Reason} Returns the previous row of the result set relative the current cursor position and positions the cursor at this row. Ref = connection_reference() @@ -371,8 +371,8 @@ - start() -> - start(Type) -> ok | {error, Reason} + start() -> + start(Type) -> ok | {error, Reason} Starts the odb application. @@ -389,7 +389,7 @@ - stop() -> ok + stop() -> ok Stops the odbc application. @@ -400,8 +400,8 @@ - sql_query(Ref, SQLQuery) -> - sql_query(Ref, SQLQuery, TimeOut) -> ResultTuple | [ResultTuple] |{error, Reason} + sql_query(Ref, SQLQuery) -> + sql_query(Ref, SQLQuery, TimeOut) -> ResultTuple | [ResultTuple] |{error, Reason} Executes a SQL query or a batch of SQL queries. If it is a SELECT query the result set is returned, on the format{selected, ColNames, Rows}. For other query types the tuple {updated, NRows}is returned, and for batched queries, if the driver supports them, this function can also return a list of result tuples. Ref = connection_reference() @@ -429,8 +429,8 @@ - select_count(Ref, SelectQuery) -> - select_count(Ref, SelectQuery, TimeOut) -> {ok, NrRows} | {error, Reason} + select_count(Ref, SelectQuery) -> + select_count(Ref, SelectQuery, TimeOut) -> {ok, NrRows} | {error, Reason} Executes a SQL SELECT query and associates the result set with the connection. A cursor is positioned before the first row in the result set and the tuple {ok, NrRows}is returned. Ref = connection_reference() @@ -453,8 +453,8 @@ - select(Ref, Position, N) -> - select(Ref, Position, N, TimeOut) -> {selected, ColNames, Rows} | {error, Reason} + select(Ref, Position, N) -> + select(Ref, Position, N, TimeOut) -> {selected, ColNames, Rows} | {error, Reason} Selects Nconsecutive rows of the result set. Ref = connection_reference() -- cgit v1.2.3