\hypertarget{group__old__dbi__functions}{}\doxysection{Old DBI Functions}
\label{group__old__dbi__functions}\index{Old DBI Functions@{Old DBI Functions}}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\+\_\+\+\_\+7\+\_\+ \mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} \mbox{\hyperlink{group__old__dbi__functions_ga330acb764484b16529d4f25960c45fa8}{Qore\+::\+SQL\+::get\+DBIDriver\+Capabilities}} (\mbox{\hyperlink{group__type__conversion__functions_gacf16b4126b795f4b6933ef3425cadae3}{string}} driver)
\begin{DoxyCompactList}\small\item\em Returns an integer representing the capabilities of a DBI driver binary-\/\+OR\textquotesingle{}ed together (see \mbox{\hyperlink{group__dbi__capabilities}{DBI Capability Constants}}) or \mbox{\hyperlink{basic_data_types_nothing}{NOTHING}} if the driver is not already loaded. \end{DoxyCompactList}\item 
nothing \mbox{\hyperlink{group__old__dbi__functions_gaec342f12d867758d49be57c1bf2a39cf}{Qore\+::\+SQL\+::get\+DBIDriver\+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_ga9a401e5112c58f63c05e7ee1e15968ef}{list}}$<$ \mbox{\hyperlink{group__type__conversion__functions_gacf16b4126b795f4b6933ef3425cadae3}{string}} $>$ \mbox{\hyperlink{group__old__dbi__functions_gae55ebe463d39b288e45429ce3d16a6e1}{Qore\+::\+SQL\+::get\+DBIDriver\+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 DBI driver (see \mbox{\hyperlink{group__dbi__capabilities}{DBI Capability Constants}}) or \mbox{\hyperlink{basic_data_types_nothing}{NOTHING}} if the driver cannot be found. \end{DoxyCompactList}\item 
nothing \mbox{\hyperlink{group__old__dbi__functions_ga9cbf88f872bbaebcd1d228efef180117}{Qore\+::\+SQL\+::get\+DBIDriver\+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_ga9a401e5112c58f63c05e7ee1e15968ef}{list}}$<$ \mbox{\hyperlink{group__type__conversion__functions_gacf16b4126b795f4b6933ef3425cadae3}{string}} $>$ \mbox{\hyperlink{group__old__dbi__functions_ga8d4cb418f509b5dab2d2e7fc422b5bb8}{Qore\+::\+SQL\+::get\+DBIDriver\+List}} ()
\begin{DoxyCompactList}\small\item\em Returns a list of strings of DBI drivers currently loaded or \mbox{\hyperlink{basic_data_types_nothing}{NOTHING}} if no drivers are loaded. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga24ee71727f0785d3b826833ed6f5e2ee}{hash}} \mbox{\hyperlink{group__old__dbi__functions_gab8f5a597374024a8c78e767dbfcafc15}{Qore\+::\+SQL\+::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\+::\+SQL\+::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}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Old DBI functions; see \mbox{\hyperlink{group__dbi__functions}{DBI Functions}} 

\doxysubsection{Function Documentation}
\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\+::\+SQL\+::get\+DBIDriver\+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}{NOOP}}, \mbox{\hyperlink{code_flags_DEPRECATED}{DEPRECATED}} 
\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\+::\+SQL\+::get\+DBIDriver\+Capabilities (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__type__conversion__functions_gacf16b4126b795f4b6933ef3425cadae3}{string}}}]{driver }\end{DoxyParamCaption})}



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

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_CONSTANT}{CONSTANT}}, \mbox{\hyperlink{code_flags_DEPRECATED}{DEPRECATED}}
\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}{NOTHING}}\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
an integer representing the capabilities of a DBI driver binary-\/\+OR\textquotesingle{}ed together (see \mbox{\hyperlink{group__dbi__capabilities}{DBI Capability Constants}}) or \mbox{\hyperlink{basic_data_types_nothing}{NOTHING}} if the driver is not already loaded
\end{DoxyReturn}
\begin{DoxyRefDesc}{Deprecated}
\item[\mbox{\hyperlink{deprecated__deprecated000040}{Deprecated}}]use \mbox{\hyperlink{group__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\+::\+SQL\+::get\+DBIDriver\+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}{NOOP}}, \mbox{\hyperlink{code_flags_DEPRECATED}{DEPRECATED}} 
\end{DoxyParagraph}
\mbox{\Hypertarget{group__old__dbi__functions_gae55ebe463d39b288e45429ce3d16a6e1}\label{group__old__dbi__functions_gae55ebe463d39b288e45429ce3d16a6e1}} 
\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_ga9a401e5112c58f63c05e7ee1e15968ef}{list}}$<$ \mbox{\hyperlink{group__type__conversion__functions_gacf16b4126b795f4b6933ef3425cadae3}{string}} $>$ Qore\+::\+SQL\+::get\+DBIDriver\+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 DBI driver (see \mbox{\hyperlink{group__dbi__capabilities}{DBI Capability Constants}}) or \mbox{\hyperlink{basic_data_types_nothing}{NOTHING}} if the driver cannot be found. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_CONSTANT}{CONSTANT}}, \mbox{\hyperlink{code_flags_DEPRECATED}{DEPRECATED}}
\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}{NOTHING}}\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
a list of each capability supported by the given DBI driver (see \mbox{\hyperlink{group__dbi__capabilities}{DBI Capability Constants}}) or \mbox{\hyperlink{basic_data_types_nothing}{NOTHING}} if the driver cannot be found
\end{DoxyReturn}
\begin{DoxyRefDesc}{Deprecated}
\item[\mbox{\hyperlink{deprecated__deprecated000041}{Deprecated}}]use \mbox{\hyperlink{group__dbi__functions_gafc25fc4c8fd5f41b9637cb6a925697f7}{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_ga8d4cb418f509b5dab2d2e7fc422b5bb8}\label{group__old__dbi__functions_ga8d4cb418f509b5dab2d2e7fc422b5bb8}} 
\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_ga9a401e5112c58f63c05e7ee1e15968ef}{list}}$<$ \mbox{\hyperlink{group__type__conversion__functions_gacf16b4126b795f4b6933ef3425cadae3}{string}} $>$ Qore\+::\+SQL\+::get\+DBIDriver\+List (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Returns a list of strings of DBI drivers currently loaded or \mbox{\hyperlink{basic_data_types_nothing}{NOTHING}} if no drivers are loaded. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_CONSTANT}{CONSTANT}}, \mbox{\hyperlink{code_flags_DEPRECATED}{DEPRECATED}}
\end{DoxyParagraph}
\begin{DoxyReturn}{Returns}
a list of strings of DBI drivers currently loaded or \mbox{\hyperlink{basic_data_types_nothing}{NOTHING}} if no drivers are loaded
\end{DoxyReturn}
\begin{DoxyRefDesc}{Deprecated}
\item[\mbox{\hyperlink{deprecated__deprecated000042}{Deprecated}}]use \mbox{\hyperlink{group__dbi__functions_ga21d1d28f19884121c569a99394ec901a}{dbi\+\_\+get\+\_\+driver\+\_\+list()}} instead; camel-\/case function names were deprecated in Qore 0.\+8.\+12 \end{DoxyRefDesc}
\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\+::\+SQL\+::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}{NOOP}}, \mbox{\hyperlink{code_flags_DEPRECATED}{DEPRECATED}} 
\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_ga24ee71727f0785d3b826833ed6f5e2ee}{hash}} Qore\+::\+SQL\+::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}{RET\+\_\+\+VALUE\+\_\+\+ONLY}}, \mbox{\hyperlink{code_flags_DEPRECATED}{DEPRECATED}}
\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 /}{\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 DATASOURCE-\/\+PARSE-\/\+ERROR} & 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__dbi__functions_ga5bc0c2cfb4f1bfbf73c527f9441a6dbe}{parse\+\_\+datasource()}} instead; camel-\/case function names were deprecated in Qore 0.\+8.\+12 \end{DoxyRefDesc}
