\hypertarget{group__old__dbi__functions}{}\doxysection{Old D\+BI Functions}
\label{group__old__dbi__functions}\index{Old DBI Functions@{Old DBI Functions}}


Old D\+BI functions; see \mbox{\hyperlink{group__dbi__functions}{D\+BI Functions}}.  


Collaboration diagram for Old D\+BI Functions\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=306pt]{group__old__dbi__functions}
\end{center}
\end{figure}
\doxysubsection*{Modules}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{group__dbi__functions}{D\+B\+I Functions}}
\begin{DoxyCompactList}\small\item\em These D\+BI functions were added in Qore 0.\+8.\+6; the original functions used camel case names and had \mbox{\hyperlink{code_flags_NOOP}{N\+O\+OP}} variants (see \mbox{\hyperlink{group__old__dbi__functions}{Old D\+BI Functions}}) \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__sql__constants}{S\+Q\+L Constants}}
\begin{DoxyCompactList}\small\item\em \mbox{\hyperlink{namespace_qore_1_1_s_q_l}{S\+QL}} constants. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Namespaces}
\begin{DoxyCompactItemize}
\item 
 \mbox{\hyperlink{namespace_qore_1_1_s_q_l}{Qore\+::\+S\+QL}}
\begin{DoxyCompactList}\small\item\em \mbox{\hyperlink{namespace_qore_1_1_s_q_l}{S\+QL}} namespace. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\+\_\+\+\_\+7\+\_\+ \mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} \mbox{\hyperlink{group__old__dbi__functions_ga330acb764484b16529d4f25960c45fa8}{Qore\+::\+S\+Q\+L\+::get\+D\+B\+I\+Driver\+Capabilities}} (\mbox{\hyperlink{group__type__conversion__functions_gacf16b4126b795f4b6933ef3425cadae3}{string}} driver)
\begin{DoxyCompactList}\small\item\em Returns an integer representing the capabilities of a D\+BI driver binary-\/\+OR\textquotesingle{}ed together (see \mbox{\hyperlink{group__dbi__capabilities}{D\+BI Capability Constants}}) or \mbox{\hyperlink{basic_data_types_nothing}{N\+O\+T\+H\+I\+NG}} if the driver is not already loaded. \end{DoxyCompactList}\item 
nothing \mbox{\hyperlink{group__old__dbi__functions_gaec342f12d867758d49be57c1bf2a39cf}{Qore\+::\+S\+Q\+L\+::get\+D\+B\+I\+Driver\+Capabilities}} ()
\begin{DoxyCompactList}\small\item\em This function variant does nothing at all; it is only included for backwards-\/compatibility with qore prior to version 0.\+8.\+0 for functions that would ignore type errors in arguments. \end{DoxyCompactList}\item 
\+\_\+\+\_\+7\+\_\+ \mbox{\hyperlink{group__type__conversion__functions_ga4b52a1cbee7a3aed46c32cb0a938629c}{list}}$<$ \mbox{\hyperlink{group__type__conversion__functions_gacf16b4126b795f4b6933ef3425cadae3}{string}} $>$ \mbox{\hyperlink{group__old__dbi__functions_ga7854c258d52bc1aa47faad90ac5b8e6b}{Qore\+::\+S\+Q\+L\+::get\+D\+B\+I\+Driver\+Capability\+List}} (\mbox{\hyperlink{group__type__conversion__functions_gacf16b4126b795f4b6933ef3425cadae3}{string}} driver)
\begin{DoxyCompactList}\small\item\em Returns a list of each capability supported by the given D\+BI driver (see \mbox{\hyperlink{group__dbi__capabilities}{D\+BI Capability Constants}}) or \mbox{\hyperlink{basic_data_types_nothing}{N\+O\+T\+H\+I\+NG}} if the driver cannot be found. \end{DoxyCompactList}\item 
nothing \mbox{\hyperlink{group__old__dbi__functions_ga9cbf88f872bbaebcd1d228efef180117}{Qore\+::\+S\+Q\+L\+::get\+D\+B\+I\+Driver\+Capability\+List}} ()
\begin{DoxyCompactList}\small\item\em This function variant does nothing at all; it is only included for backwards-\/compatibility with qore prior to version 0.\+8.\+0 for functions that would ignore type errors in arguments. \end{DoxyCompactList}\item 
\+\_\+\+\_\+7\+\_\+ \mbox{\hyperlink{group__type__conversion__functions_ga4b52a1cbee7a3aed46c32cb0a938629c}{list}}$<$ \mbox{\hyperlink{group__type__conversion__functions_gacf16b4126b795f4b6933ef3425cadae3}{string}} $>$ \mbox{\hyperlink{group__old__dbi__functions_ga20fdc611dd5a56fce211b3106578840c}{Qore\+::\+S\+Q\+L\+::get\+D\+B\+I\+Driver\+List}} ()
\begin{DoxyCompactList}\small\item\em Returns a list of strings of D\+BI drivers currently loaded or \mbox{\hyperlink{basic_data_types_nothing}{N\+O\+T\+H\+I\+NG}} if no drivers are loaded. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga0231dbb472dd230310af7c7c34f56e92}{hash}} \mbox{\hyperlink{group__old__dbi__functions_gab8f5a597374024a8c78e767dbfcafc15}{Qore\+::\+S\+Q\+L\+::parse\+Datasource}} (\mbox{\hyperlink{group__type__conversion__functions_gacf16b4126b795f4b6933ef3425cadae3}{string}} ds)
\begin{DoxyCompactList}\small\item\em Returns a \mbox{\hyperlink{group__dbi__functions_datasource_hash}{datasource hash}} of the components of a datasource string. \end{DoxyCompactList}\item 
nothing \mbox{\hyperlink{group__old__dbi__functions_gaba3a2421c3d2b492c9494f346c13da1c}{Qore\+::\+S\+Q\+L\+::parse\+Datasource}} ()
\begin{DoxyCompactList}\small\item\em This function variant does nothing at all; it is only included for backwards-\/compatibility with qore prior to version 0.\+8.\+0 for functions that would ignore type errors in arguments. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} \mbox{\hyperlink{group__old__dbi__functions_ga40597983f24f3b0edc06149246d1cbe2}{Qore\+::\+S\+Q\+L\+::dbi\+\_\+get\+\_\+driver\+\_\+capabilities}} (\mbox{\hyperlink{group__type__conversion__functions_gacf16b4126b795f4b6933ef3425cadae3}{string}} driver)
\begin{DoxyCompactList}\small\item\em Returns an integer representing the capabilities of a D\+BI driver binary-\/\+OR\textquotesingle{}ed together (see \mbox{\hyperlink{group__dbi__capabilities}{D\+BI Capability Constants}}) or 0 if the driver is not already loaded. \end{DoxyCompactList}\item 
\+\_\+\+\_\+7\+\_\+ \mbox{\hyperlink{group__type__conversion__functions_ga4b52a1cbee7a3aed46c32cb0a938629c}{list}}$<$ \mbox{\hyperlink{group__type__conversion__functions_gacf16b4126b795f4b6933ef3425cadae3}{string}} $>$ \mbox{\hyperlink{group__old__dbi__functions_ga2c836575bb7327e5ef81df5dff4799ff}{Qore\+::\+S\+Q\+L\+::dbi\+\_\+get\+\_\+driver\+\_\+capability\+\_\+list}} (\mbox{\hyperlink{group__type__conversion__functions_gacf16b4126b795f4b6933ef3425cadae3}{string}} driver)
\begin{DoxyCompactList}\small\item\em Returns a list of each capability supported by the given D\+BI driver (see \mbox{\hyperlink{group__dbi__capabilities}{D\+BI Capability Constants}}) or \mbox{\hyperlink{basic_data_types_nothing}{N\+O\+T\+H\+I\+NG}} if the driver cannot be found. \end{DoxyCompactList}\item 
\+\_\+\+\_\+7\+\_\+ \mbox{\hyperlink{group__type__conversion__functions_ga4b52a1cbee7a3aed46c32cb0a938629c}{list}}$<$ \mbox{\hyperlink{group__type__conversion__functions_gacf16b4126b795f4b6933ef3425cadae3}{string}} $>$ \mbox{\hyperlink{group__old__dbi__functions_gae91b14606e0b3d0ca9155a911ec06a5c}{Qore\+::\+S\+Q\+L\+::dbi\+\_\+get\+\_\+driver\+\_\+list}} ()
\begin{DoxyCompactList}\small\item\em Returns a list of strings of D\+BI drivers currently loaded or \mbox{\hyperlink{basic_data_types_nothing}{N\+O\+T\+H\+I\+NG}} if no drivers are loaded. \end{DoxyCompactList}\item 
\+\_\+\+\_\+7\+\_\+ \mbox{\hyperlink{group__type__conversion__functions_ga0231dbb472dd230310af7c7c34f56e92}{hash}}$<$ auto $>$ \mbox{\hyperlink{group__old__dbi__functions_gafc8e6e00000f5c1a029f69d43dc66f82}{Qore\+::\+S\+Q\+L\+::dbi\+\_\+get\+\_\+driver\+\_\+options}} (\mbox{\hyperlink{group__type__conversion__functions_gacf16b4126b795f4b6933ef3425cadae3}{string}} driver)
\begin{DoxyCompactList}\small\item\em returns a hash of driver options \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga0231dbb472dd230310af7c7c34f56e92}{hash}}$<$ auto $>$ \mbox{\hyperlink{group__old__dbi__functions_ga6c3dab42570887656fc05f5a22eb370a}{Qore\+::\+S\+Q\+L\+::parse\+\_\+datasource}} (\mbox{\hyperlink{group__type__conversion__functions_gacf16b4126b795f4b6933ef3425cadae3}{string}} ds)
\begin{DoxyCompactList}\small\item\em Returns a \mbox{\hyperlink{group__dbi__functions_datasource_hash}{datasource hash}} of the components of a datasource string. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Old D\+BI functions; see \mbox{\hyperlink{group__dbi__functions}{D\+BI Functions}}. 



\doxysubsection{Function Documentation}
\mbox{\Hypertarget{group__old__dbi__functions_ga40597983f24f3b0edc06149246d1cbe2}\label{group__old__dbi__functions_ga40597983f24f3b0edc06149246d1cbe2}} 
\index{Old DBI Functions@{Old DBI Functions}!dbi\_get\_driver\_capabilities@{dbi\_get\_driver\_capabilities}}
\index{dbi\_get\_driver\_capabilities@{dbi\_get\_driver\_capabilities}!Old DBI Functions@{Old DBI Functions}}
\doxysubsubsection{\texorpdfstring{dbi\_get\_driver\_capabilities()}{dbi\_get\_driver\_capabilities()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} Qore\+::\+S\+Q\+L\+::dbi\+\_\+get\+\_\+driver\+\_\+capabilities (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__type__conversion__functions_gacf16b4126b795f4b6933ef3425cadae3}{string}}}]{driver }\end{DoxyParamCaption})}



Returns an integer representing the capabilities of a D\+BI driver binary-\/\+OR\textquotesingle{}ed together (see \mbox{\hyperlink{group__dbi__capabilities}{D\+BI Capability Constants}}) or 0 if the driver is not already loaded. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_CONSTANT}{C\+O\+N\+S\+T\+A\+NT}}
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em driver} & the name of the driver; if the given driver is not already loaded then this function returns \mbox{\hyperlink{basic_data_types_nothing}{N\+O\+T\+H\+I\+NG}}\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
an integer representing the capabilities of a D\+BI driver binary-\/\+OR\textquotesingle{}ed together (see \mbox{\hyperlink{group__dbi__capabilities}{D\+BI Capability Constants}}) or 0 if the driver is not already loaded
\end{DoxyReturn}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{int caps = \mbox{\hyperlink{group__old__dbi__functions_ga40597983f24f3b0edc06149246d1cbe2}{dbi\_get\_driver\_capabilities}}(\textcolor{stringliteral}{"pgsql"});}
\end{DoxyCode}

\end{DoxyParagraph}
\begin{DoxyNote}{Note}
similar to \mbox{\hyperlink{group__old__dbi__functions_ga330acb764484b16529d4f25960c45fa8}{get\+D\+B\+I\+Driver\+Capabilities()}} except uses the standard function naming scheme (ie {\ttfamily \char`\"{}names\+\_\+like\+\_\+this()\char`\"{}} instead of {\ttfamily \char`\"{}camel\+Case()\char`\"{}}), always returns an \mbox{\hyperlink{data_type_declarations_int_type}{int}}, and does not have a \mbox{\hyperlink{code_flags_NOOP}{N\+O\+OP}} variant
\end{DoxyNote}
\begin{DoxySince}{Since}
Qore 0.\+8.\+6 
\end{DoxySince}
\mbox{\Hypertarget{group__old__dbi__functions_ga2c836575bb7327e5ef81df5dff4799ff}\label{group__old__dbi__functions_ga2c836575bb7327e5ef81df5dff4799ff}} 
\index{Old DBI Functions@{Old DBI Functions}!dbi\_get\_driver\_capability\_list@{dbi\_get\_driver\_capability\_list}}
\index{dbi\_get\_driver\_capability\_list@{dbi\_get\_driver\_capability\_list}!Old DBI Functions@{Old DBI Functions}}
\doxysubsubsection{\texorpdfstring{dbi\_get\_driver\_capability\_list()}{dbi\_get\_driver\_capability\_list()}}
{\footnotesize\ttfamily \+\_\+\+\_\+7\+\_\+ \mbox{\hyperlink{group__type__conversion__functions_ga4b52a1cbee7a3aed46c32cb0a938629c}{list}}$<$\mbox{\hyperlink{group__type__conversion__functions_gacf16b4126b795f4b6933ef3425cadae3}{string}}$>$ Qore\+::\+S\+Q\+L\+::dbi\+\_\+get\+\_\+driver\+\_\+capability\+\_\+list (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__type__conversion__functions_gacf16b4126b795f4b6933ef3425cadae3}{string}}}]{driver }\end{DoxyParamCaption})}



Returns a list of each capability supported by the given D\+BI driver (see \mbox{\hyperlink{group__dbi__capabilities}{D\+BI Capability Constants}}) or \mbox{\hyperlink{basic_data_types_nothing}{N\+O\+T\+H\+I\+NG}} if the driver cannot be found. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_CONSTANT}{C\+O\+N\+S\+T\+A\+NT}}
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em driver} & the name of the driver; if the given driver is not loaded then the function returns \mbox{\hyperlink{basic_data_types_nothing}{N\+O\+T\+H\+I\+NG}}\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
a list of each capability supported by the given D\+BI driver (see \mbox{\hyperlink{group__dbi__capabilities}{D\+BI Capability Constants}}) or \mbox{\hyperlink{basic_data_types_nothing}{N\+O\+T\+H\+I\+NG}} if the driver cannot be found
\end{DoxyReturn}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{*list<string> l = \mbox{\hyperlink{group__old__dbi__functions_ga2c836575bb7327e5ef81df5dff4799ff}{dbi\_get\_driver\_capability\_list}}(\textcolor{stringliteral}{"pgsql"});}
\end{DoxyCode}

\end{DoxyParagraph}
\begin{DoxyNote}{Note}
similar to \mbox{\hyperlink{group__old__dbi__functions_ga7854c258d52bc1aa47faad90ac5b8e6b}{get\+D\+B\+I\+Driver\+Capability\+List()}} except uses the standard function naming scheme (ie {\ttfamily \char`\"{}names\+\_\+like\+\_\+this()\char`\"{}} instead of {\ttfamily \char`\"{}camel\+Case()\char`\"{}}) and does not have a \mbox{\hyperlink{code_flags_NOOP}{N\+O\+OP}} variant
\end{DoxyNote}
\begin{DoxySince}{Since}
Qore 0.\+8.\+6 
\end{DoxySince}
\mbox{\Hypertarget{group__old__dbi__functions_gae91b14606e0b3d0ca9155a911ec06a5c}\label{group__old__dbi__functions_gae91b14606e0b3d0ca9155a911ec06a5c}} 
\index{Old DBI Functions@{Old DBI Functions}!dbi\_get\_driver\_list@{dbi\_get\_driver\_list}}
\index{dbi\_get\_driver\_list@{dbi\_get\_driver\_list}!Old DBI Functions@{Old DBI Functions}}
\doxysubsubsection{\texorpdfstring{dbi\_get\_driver\_list()}{dbi\_get\_driver\_list()}}
{\footnotesize\ttfamily \+\_\+\+\_\+7\+\_\+ \mbox{\hyperlink{group__type__conversion__functions_ga4b52a1cbee7a3aed46c32cb0a938629c}{list}}$<$\mbox{\hyperlink{group__type__conversion__functions_gacf16b4126b795f4b6933ef3425cadae3}{string}}$>$ Qore\+::\+S\+Q\+L\+::dbi\+\_\+get\+\_\+driver\+\_\+list (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Returns a list of strings of D\+BI drivers currently loaded or \mbox{\hyperlink{basic_data_types_nothing}{N\+O\+T\+H\+I\+NG}} if no drivers are loaded. 

\begin{DoxyReturn}{Returns}
a list of strings of D\+BI drivers currently loaded or \mbox{\hyperlink{basic_data_types_nothing}{N\+O\+T\+H\+I\+NG}} if no drivers are loaded
\end{DoxyReturn}
\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_CONSTANT}{C\+O\+N\+S\+T\+A\+NT}}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{*list<string> l = \mbox{\hyperlink{group__old__dbi__functions_gae91b14606e0b3d0ca9155a911ec06a5c}{dbi\_get\_driver\_list}}();}
\end{DoxyCode}

\end{DoxyParagraph}
\begin{DoxyNote}{Note}
similar to \mbox{\hyperlink{group__old__dbi__functions_ga20fdc611dd5a56fce211b3106578840c}{get\+D\+B\+I\+Driver\+List()}} except uses the standard function naming scheme (ie {\ttfamily \char`\"{}names\+\_\+like\+\_\+this()\char`\"{}} instead of {\ttfamily \char`\"{}camel\+Case()\char`\"{}})
\end{DoxyNote}
\begin{DoxySince}{Since}
Qore 0.\+8.\+6 
\end{DoxySince}
\mbox{\Hypertarget{group__old__dbi__functions_gafc8e6e00000f5c1a029f69d43dc66f82}\label{group__old__dbi__functions_gafc8e6e00000f5c1a029f69d43dc66f82}} 
\index{Old DBI Functions@{Old DBI Functions}!dbi\_get\_driver\_options@{dbi\_get\_driver\_options}}
\index{dbi\_get\_driver\_options@{dbi\_get\_driver\_options}!Old DBI Functions@{Old DBI Functions}}
\doxysubsubsection{\texorpdfstring{dbi\_get\_driver\_options()}{dbi\_get\_driver\_options()}}
{\footnotesize\ttfamily \+\_\+\+\_\+7\+\_\+ \mbox{\hyperlink{group__type__conversion__functions_ga0231dbb472dd230310af7c7c34f56e92}{hash}}$<$auto$>$ Qore\+::\+S\+Q\+L\+::dbi\+\_\+get\+\_\+driver\+\_\+options (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__type__conversion__functions_gacf16b4126b795f4b6933ef3425cadae3}{string}}}]{driver }\end{DoxyParamCaption})}



returns a hash of driver options 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_CONSTANT}{C\+O\+N\+S\+T\+A\+NT}}
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em driver} & the name of the driver; if the given driver is not already loaded then this function returns \mbox{\hyperlink{basic_data_types_nothing}{N\+O\+T\+H\+I\+NG}}\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
if the given driver is not already loaded then the function returns \mbox{\hyperlink{basic_data_types_nothing}{N\+O\+T\+H\+I\+NG}}; if the driver does not support any options then an empty hash is returned, otherwise a hash is returned where the keys are valid option names, and the values are hashes with the following keys\+:
\begin{DoxyItemize}
\item {\ttfamily \char`\"{}desc\char`\"{}}\+: a string description of the option
\item {\ttfamily \char`\"{}type\char`\"{}}\+: a string giving the data type restriction for the option
\end{DoxyItemize}
\end{DoxyReturn}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{*hash<auto> h = \mbox{\hyperlink{group__old__dbi__functions_gafc8e6e00000f5c1a029f69d43dc66f82}{dbi\_get\_driver\_options}}(\textcolor{stringliteral}{"pgsql"});}
\end{DoxyCode}

\end{DoxyParagraph}
\begin{DoxySince}{Since}
Qore 0.\+8.\+6 
\end{DoxySince}
\mbox{\Hypertarget{group__old__dbi__functions_gaec342f12d867758d49be57c1bf2a39cf}\label{group__old__dbi__functions_gaec342f12d867758d49be57c1bf2a39cf}} 
\index{Old DBI Functions@{Old DBI Functions}!getDBIDriverCapabilities@{getDBIDriverCapabilities}}
\index{getDBIDriverCapabilities@{getDBIDriverCapabilities}!Old DBI Functions@{Old DBI Functions}}
\doxysubsubsection{\texorpdfstring{getDBIDriverCapabilities()}{getDBIDriverCapabilities()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily nothing Qore\+::\+S\+Q\+L\+::get\+D\+B\+I\+Driver\+Capabilities (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



This function variant does nothing at all; it is only included for backwards-\/compatibility with qore prior to version 0.\+8.\+0 for functions that would ignore type errors in arguments. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_NOOP}{N\+O\+OP}}, \mbox{\hyperlink{code_flags_DEPRECATED}{D\+E\+P\+R\+E\+C\+A\+T\+ED}} 
\end{DoxyParagraph}
\mbox{\Hypertarget{group__old__dbi__functions_ga330acb764484b16529d4f25960c45fa8}\label{group__old__dbi__functions_ga330acb764484b16529d4f25960c45fa8}} 
\index{Old DBI Functions@{Old DBI Functions}!getDBIDriverCapabilities@{getDBIDriverCapabilities}}
\index{getDBIDriverCapabilities@{getDBIDriverCapabilities}!Old DBI Functions@{Old DBI Functions}}
\doxysubsubsection{\texorpdfstring{getDBIDriverCapabilities()}{getDBIDriverCapabilities()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily \+\_\+\+\_\+7\+\_\+ \mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} Qore\+::\+S\+Q\+L\+::get\+D\+B\+I\+Driver\+Capabilities (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__type__conversion__functions_gacf16b4126b795f4b6933ef3425cadae3}{string}}}]{driver }\end{DoxyParamCaption})}



Returns an integer representing the capabilities of a D\+BI driver binary-\/\+OR\textquotesingle{}ed together (see \mbox{\hyperlink{group__dbi__capabilities}{D\+BI Capability Constants}}) or \mbox{\hyperlink{basic_data_types_nothing}{N\+O\+T\+H\+I\+NG}} if the driver is not already loaded. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_CONSTANT}{C\+O\+N\+S\+T\+A\+NT}}, \mbox{\hyperlink{code_flags_DEPRECATED}{D\+E\+P\+R\+E\+C\+A\+T\+ED}}
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em driver} & the name of the driver; if the given driver is not already loaded then this function returns \mbox{\hyperlink{basic_data_types_nothing}{N\+O\+T\+H\+I\+NG}}\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
an integer representing the capabilities of a D\+BI driver binary-\/\+OR\textquotesingle{}ed together (see \mbox{\hyperlink{group__dbi__capabilities}{D\+BI Capability Constants}}) or \mbox{\hyperlink{basic_data_types_nothing}{N\+O\+T\+H\+I\+NG}} if the driver is not already loaded
\end{DoxyReturn}
\begin{DoxyRefDesc}{Deprecated}
\item[\mbox{\hyperlink{deprecated__deprecated000040}{Deprecated}}]use \mbox{\hyperlink{group__old__dbi__functions_ga40597983f24f3b0edc06149246d1cbe2}{dbi\+\_\+get\+\_\+driver\+\_\+capabilities()}} instead; camel-\/case function names were deprecated in Qore 0.\+8.\+12 \end{DoxyRefDesc}
\mbox{\Hypertarget{group__old__dbi__functions_ga9cbf88f872bbaebcd1d228efef180117}\label{group__old__dbi__functions_ga9cbf88f872bbaebcd1d228efef180117}} 
\index{Old DBI Functions@{Old DBI Functions}!getDBIDriverCapabilityList@{getDBIDriverCapabilityList}}
\index{getDBIDriverCapabilityList@{getDBIDriverCapabilityList}!Old DBI Functions@{Old DBI Functions}}
\doxysubsubsection{\texorpdfstring{getDBIDriverCapabilityList()}{getDBIDriverCapabilityList()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily nothing Qore\+::\+S\+Q\+L\+::get\+D\+B\+I\+Driver\+Capability\+List (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



This function variant does nothing at all; it is only included for backwards-\/compatibility with qore prior to version 0.\+8.\+0 for functions that would ignore type errors in arguments. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_NOOP}{N\+O\+OP}}, \mbox{\hyperlink{code_flags_DEPRECATED}{D\+E\+P\+R\+E\+C\+A\+T\+ED}} 
\end{DoxyParagraph}
\mbox{\Hypertarget{group__old__dbi__functions_ga7854c258d52bc1aa47faad90ac5b8e6b}\label{group__old__dbi__functions_ga7854c258d52bc1aa47faad90ac5b8e6b}} 
\index{Old DBI Functions@{Old DBI Functions}!getDBIDriverCapabilityList@{getDBIDriverCapabilityList}}
\index{getDBIDriverCapabilityList@{getDBIDriverCapabilityList}!Old DBI Functions@{Old DBI Functions}}
\doxysubsubsection{\texorpdfstring{getDBIDriverCapabilityList()}{getDBIDriverCapabilityList()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily \+\_\+\+\_\+7\+\_\+ \mbox{\hyperlink{group__type__conversion__functions_ga4b52a1cbee7a3aed46c32cb0a938629c}{list}}$<$\mbox{\hyperlink{group__type__conversion__functions_gacf16b4126b795f4b6933ef3425cadae3}{string}}$>$ Qore\+::\+S\+Q\+L\+::get\+D\+B\+I\+Driver\+Capability\+List (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__type__conversion__functions_gacf16b4126b795f4b6933ef3425cadae3}{string}}}]{driver }\end{DoxyParamCaption})}



Returns a list of each capability supported by the given D\+BI driver (see \mbox{\hyperlink{group__dbi__capabilities}{D\+BI Capability Constants}}) or \mbox{\hyperlink{basic_data_types_nothing}{N\+O\+T\+H\+I\+NG}} if the driver cannot be found. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_CONSTANT}{C\+O\+N\+S\+T\+A\+NT}}, \mbox{\hyperlink{code_flags_DEPRECATED}{D\+E\+P\+R\+E\+C\+A\+T\+ED}}
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em driver} & the name of the driver; if the given driver is not loaded then the function returns \mbox{\hyperlink{basic_data_types_nothing}{N\+O\+T\+H\+I\+NG}}\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
a list of each capability supported by the given D\+BI driver (see \mbox{\hyperlink{group__dbi__capabilities}{D\+BI Capability Constants}}) or \mbox{\hyperlink{basic_data_types_nothing}{N\+O\+T\+H\+I\+NG}} if the driver cannot be found
\end{DoxyReturn}
\begin{DoxyRefDesc}{Deprecated}
\item[\mbox{\hyperlink{deprecated__deprecated000041}{Deprecated}}]use \mbox{\hyperlink{group__old__dbi__functions_ga2c836575bb7327e5ef81df5dff4799ff}{dbi\+\_\+get\+\_\+driver\+\_\+capability\+\_\+list()}} instead; camel-\/case function names were deprecated in Qore 0.\+8.\+12 \end{DoxyRefDesc}
\mbox{\Hypertarget{group__old__dbi__functions_ga20fdc611dd5a56fce211b3106578840c}\label{group__old__dbi__functions_ga20fdc611dd5a56fce211b3106578840c}} 
\index{Old DBI Functions@{Old DBI Functions}!getDBIDriverList@{getDBIDriverList}}
\index{getDBIDriverList@{getDBIDriverList}!Old DBI Functions@{Old DBI Functions}}
\doxysubsubsection{\texorpdfstring{getDBIDriverList()}{getDBIDriverList()}}
{\footnotesize\ttfamily \+\_\+\+\_\+7\+\_\+ \mbox{\hyperlink{group__type__conversion__functions_ga4b52a1cbee7a3aed46c32cb0a938629c}{list}}$<$\mbox{\hyperlink{group__type__conversion__functions_gacf16b4126b795f4b6933ef3425cadae3}{string}}$>$ Qore\+::\+S\+Q\+L\+::get\+D\+B\+I\+Driver\+List (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Returns a list of strings of D\+BI drivers currently loaded or \mbox{\hyperlink{basic_data_types_nothing}{N\+O\+T\+H\+I\+NG}} if no drivers are loaded. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_CONSTANT}{C\+O\+N\+S\+T\+A\+NT}}, \mbox{\hyperlink{code_flags_DEPRECATED}{D\+E\+P\+R\+E\+C\+A\+T\+ED}}
\end{DoxyParagraph}
\begin{DoxyReturn}{Returns}
a list of strings of D\+BI drivers currently loaded or \mbox{\hyperlink{basic_data_types_nothing}{N\+O\+T\+H\+I\+NG}} if no drivers are loaded
\end{DoxyReturn}
\begin{DoxyRefDesc}{Deprecated}
\item[\mbox{\hyperlink{deprecated__deprecated000042}{Deprecated}}]use \mbox{\hyperlink{group__old__dbi__functions_gae91b14606e0b3d0ca9155a911ec06a5c}{dbi\+\_\+get\+\_\+driver\+\_\+list()}} instead; camel-\/case function names were deprecated in Qore 0.\+8.\+12 \end{DoxyRefDesc}
\mbox{\Hypertarget{group__old__dbi__functions_ga6c3dab42570887656fc05f5a22eb370a}\label{group__old__dbi__functions_ga6c3dab42570887656fc05f5a22eb370a}} 
\index{Old DBI Functions@{Old DBI Functions}!parse\_datasource@{parse\_datasource}}
\index{parse\_datasource@{parse\_datasource}!Old DBI Functions@{Old DBI Functions}}
\doxysubsubsection{\texorpdfstring{parse\_datasource()}{parse\_datasource()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga0231dbb472dd230310af7c7c34f56e92}{hash}}$<$auto$>$ Qore\+::\+S\+Q\+L\+::parse\+\_\+datasource (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__type__conversion__functions_gacf16b4126b795f4b6933ef3425cadae3}{string}}}]{ds }\end{DoxyParamCaption})}



Returns a \mbox{\hyperlink{group__dbi__functions_datasource_hash}{datasource hash}} of the components of a datasource string. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_RET_VALUE_ONLY}{R\+E\+T\+\_\+\+V\+A\+L\+U\+E\+\_\+\+O\+N\+LY}}
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em ds} & a string describing the datasource with the following syntax\+:~\newline
 {\ttfamily \mbox{[}}{\itshape driver}{\ttfamily \+:\mbox{]}\mbox{[}}{\itshape user}{\ttfamily \mbox{]}\+:\mbox{[}/}{\itshape pass}{\ttfamily \mbox{]}@}{\itshape db}{\ttfamily \mbox{[}(}{\itshape charset}{\ttfamily )\mbox{]}\mbox{[}\%}{\itshape host}{\ttfamily \mbox{[}\+:}{\itshape port}{\ttfamily \mbox{]}\mbox{[}\{}{\itshape option}{\ttfamily =}{\itshape val}{\ttfamily \mbox{[},...\mbox{]}\}\mbox{]}} ~\newline
 where all elements except {\ttfamily @}{\itshape db} are optional\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
a \mbox{\hyperlink{group__dbi__functions_datasource_hash}{datasource hash}} of the components of a datasource string
\end{DoxyReturn}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{hash<auto> h = \mbox{\hyperlink{group__old__dbi__functions_ga6c3dab42570887656fc05f5a22eb370a}{parse\_datasource}}(\textcolor{stringliteral}{"pgsql:user/pass@dbname(utf8)\%dbhost.internal:1521\{min=4,max=10\}"});}
\end{DoxyCode}

\end{DoxyParagraph}

\begin{DoxyExceptions}{Exceptions}
{\em D\+A\+T\+A\+S\+O\+U\+R\+C\+E-\/\+P\+A\+R\+S\+E-\/\+E\+R\+R\+OR} & a syntax error occurred parsing the datasource string (missing field, unexpected character, etc)\\
\hline
\end{DoxyExceptions}
\begin{DoxyNote}{Note}
similar to \mbox{\hyperlink{group__old__dbi__functions_gab8f5a597374024a8c78e767dbfcafc15}{parse\+Datasource()}} except uses the standard function naming scheme (ie {\ttfamily \char`\"{}names\+\_\+like\+\_\+this()\char`\"{}} instead of {\ttfamily \char`\"{}camel\+Case()\char`\"{}}) and does not have a \mbox{\hyperlink{code_flags_NOOP}{N\+O\+OP}} variant
\end{DoxyNote}
\begin{DoxySince}{Since}
Qore 0.\+8.\+6 
\end{DoxySince}
\mbox{\Hypertarget{group__old__dbi__functions_gaba3a2421c3d2b492c9494f346c13da1c}\label{group__old__dbi__functions_gaba3a2421c3d2b492c9494f346c13da1c}} 
\index{Old DBI Functions@{Old DBI Functions}!parseDatasource@{parseDatasource}}
\index{parseDatasource@{parseDatasource}!Old DBI Functions@{Old DBI Functions}}
\doxysubsubsection{\texorpdfstring{parseDatasource()}{parseDatasource()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily nothing Qore\+::\+S\+Q\+L\+::parse\+Datasource (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



This function variant does nothing at all; it is only included for backwards-\/compatibility with qore prior to version 0.\+8.\+0 for functions that would ignore type errors in arguments. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_NOOP}{N\+O\+OP}}, \mbox{\hyperlink{code_flags_DEPRECATED}{D\+E\+P\+R\+E\+C\+A\+T\+ED}} 
\end{DoxyParagraph}
\mbox{\Hypertarget{group__old__dbi__functions_gab8f5a597374024a8c78e767dbfcafc15}\label{group__old__dbi__functions_gab8f5a597374024a8c78e767dbfcafc15}} 
\index{Old DBI Functions@{Old DBI Functions}!parseDatasource@{parseDatasource}}
\index{parseDatasource@{parseDatasource}!Old DBI Functions@{Old DBI Functions}}
\doxysubsubsection{\texorpdfstring{parseDatasource()}{parseDatasource()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga0231dbb472dd230310af7c7c34f56e92}{hash}} Qore\+::\+S\+Q\+L\+::parse\+Datasource (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__type__conversion__functions_gacf16b4126b795f4b6933ef3425cadae3}{string}}}]{ds }\end{DoxyParamCaption})}



Returns a \mbox{\hyperlink{group__dbi__functions_datasource_hash}{datasource hash}} of the components of a datasource string. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_RET_VALUE_ONLY}{R\+E\+T\+\_\+\+V\+A\+L\+U\+E\+\_\+\+O\+N\+LY}}, \mbox{\hyperlink{code_flags_DEPRECATED}{D\+E\+P\+R\+E\+C\+A\+T\+ED}}
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em ds} & a string describing the datasource with the following syntax\+:~\newline
 {\ttfamily \mbox{[}}{\itshape driver}{\ttfamily \+:\mbox{]}\mbox{[}}{\itshape user}{\ttfamily \mbox{]}\+:\mbox{[}/}{\itshape pass}{\ttfamily \mbox{]}@}{\itshape db}{\ttfamily \mbox{[}(}{\itshape charset}{\ttfamily )\mbox{]}\mbox{[}\%}{\itshape host}{\ttfamily \mbox{[}\+:}{\itshape port}{\ttfamily \mbox{]}\mbox{[}\{}{\itshape option}{\ttfamily =}{\itshape val}{\ttfamily \mbox{[},...\mbox{]}\}\mbox{]}} ~\newline
 where all elements except {\ttfamily @}{\itshape db} are optional\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
a \mbox{\hyperlink{group__dbi__functions_datasource_hash}{datasource hash}} of the components of a datasource string
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em D\+A\+T\+A\+S\+O\+U\+R\+C\+E-\/\+P\+A\+R\+S\+E-\/\+E\+R\+R\+OR} & a syntax error occurred parsing the datasource string (missing field, unexpected character, etc)\\
\hline
\end{DoxyExceptions}
\begin{DoxyRefDesc}{Deprecated}
\item[\mbox{\hyperlink{deprecated__deprecated000043}{Deprecated}}]use \mbox{\hyperlink{group__old__dbi__functions_ga6c3dab42570887656fc05f5a22eb370a}{parse\+\_\+datasource()}} instead; camel-\/case function names were deprecated in Qore 0.\+8.\+12 \end{DoxyRefDesc}
