\(\newcommand{\B}[1]{ {\bf #1} }\) \(\newcommand{\R}[1]{ {\rm #1} }\) \(\newcommand{\W}[1]{ \; #1 \; }\)
connection_file#
View page sourceGet File Name For a Database Connection#
Syntax#
file_name =
dismod_at.connection_file_name
( connection )
Purpose#
This function can be used for reporting errors that occur when using a database connection.
connection#
The is a database connection returned by create_connection .
file_name#
The return value is a str
containing the name of the
file where the data base is stored.
Example#
The file user_connection_file.py contains an example and test of this routine.