Using the erlang mysql module, how is a database connection closed?

Posted by Dan on Stack Overflow See other posts from Stack Overflow or by Dan
Published on 2010-03-28T03:41:24Z Indexed on 2010/03/28 3:43 UTC
Read the original article Hit count: 337

Filed under:
|

In using the erlang mysql module the exposed external functions are:

%% External exports -export([start_link/5, start_link/6, start_link/7, start_link/8,

start/5, start/6, start/7, start/8,

connect/7, connect/8, connect/9,

fetch/1, fetch/2, fetch/3,

prepare/2, execute/1, execute/2, execute/3, execute/4, unprepare/1, get_prepared/1, get_prepared/2,

transaction/2, transaction/3,

get_result_field_info/1, get_result_rows/1, get_result_affected_rows/1, get_result_reason/1,

encode/1, encode/2, asciz_binary/2 ]).

From the this this, it is not apparent how to close a connection. How a connection closed?

© Stack Overflow or respective owner

Related posts about erlang

Related posts about mysql