\hypertarget{_q_c___datasource_pool_8dox_8h_source}{}\doxysection{QC\+\_\+\+Datasource\+Pool.\+dox.\+h}

\begin{DoxyCode}{0}
\DoxyCodeLine{1 }
\DoxyCodeLine{2 \textcolor{keyword}{namespace }\mbox{\hyperlink{namespace_qore}{Qore}} \{}
\DoxyCodeLine{4 \textcolor{keyword}{namespace }SQL \{}
\DoxyCodeLine{6 }
\DoxyCodeLine{50 \textcolor{keyword}{class }\mbox{\hyperlink{class_qore_1_1_s_q_l_1_1_datasource_pool}{DatasourcePool}} : \textcolor{keyword}{public} \mbox{\hyperlink{class_qore_1_1_s_q_l_1_1_abstract_datasource}{AbstractDatasource}}, \textcolor{keyword}{public} \mbox{\hyperlink{class_qore_1_1_serializable}{Serializable}} \{}
\DoxyCodeLine{51 }
\DoxyCodeLine{52 \textcolor{keyword}{public}:}
\DoxyCodeLine{54 }
\DoxyCodeLine{65 nothing \mbox{\hyperlink{class_qore_1_1_s_q_l_1_1_datasource_pool_a04c351f440ddfdbe79f9b4ef26608e6f}{beginTransaction}}();}
\DoxyCodeLine{66 }
\DoxyCodeLine{67 \textcolor{keyword}{public}:}
\DoxyCodeLine{69 }
\DoxyCodeLine{71 nothing \mbox{\hyperlink{class_qore_1_1_s_q_l_1_1_datasource_pool_ad10f884015b96adea7182c970ac6e1e3}{clearEventQueue}}();}
\DoxyCodeLine{72 }
\DoxyCodeLine{73 \textcolor{keyword}{public}:}
\DoxyCodeLine{75 }
\DoxyCodeLine{82  \mbox{\hyperlink{class_qore_1_1_s_q_l_1_1_datasource_pool_ae3f91bf804ee55f47169b8ae9669ad40}{clearWarningCallback}}();}
\DoxyCodeLine{83 }
\DoxyCodeLine{84 \textcolor{keyword}{public}:}
\DoxyCodeLine{86 }
\DoxyCodeLine{92 nothing \mbox{\hyperlink{class_qore_1_1_s_q_l_1_1_datasource_pool_a9919ad37d79e03e364bd41462c981aea}{commit}}();}
\DoxyCodeLine{93 }
\DoxyCodeLine{94 \textcolor{keyword}{public}:}
\DoxyCodeLine{96 }
\DoxyCodeLine{117  \mbox{\hyperlink{class_qore_1_1_s_q_l_1_1_datasource_pool_a5cc4b6555af9eac46c8fc1a63ec0aff7}{constructor}}(\textcolor{keywordtype}{string} driver, \_\_7\_ \textcolor{keywordtype}{string} user, \_\_7\_ \textcolor{keywordtype}{string} pass, \_\_7\_ \textcolor{keywordtype}{string} db, \_\_7\_ \textcolor{keywordtype}{string} encoding, \_\_7\_ \textcolor{keywordtype}{string} host, softint \mbox{\hyperlink{group__list__functions_ga82c657a31963077edb54dd9b54b4683a}{min}} = 3, softint \mbox{\hyperlink{group__list__functions_ga67a04aa765442456f353bf8b38b50e0e}{max}} = 10, softint port = 0, \_\_7\_ \mbox{\hyperlink{class_qore_1_1_thread_1_1_queue}{Qore::Thread::Queue}} queue, \textcolor{keyword}{auto} arg);}
\DoxyCodeLine{118 }
\DoxyCodeLine{119 \textcolor{keyword}{public}:}
\DoxyCodeLine{121 }
\DoxyCodeLine{136  \mbox{\hyperlink{class_qore_1_1_s_q_l_1_1_datasource_pool_a2f9eed01518ddcfa7a788acbc2d8303c}{constructor}}(\textcolor{keywordtype}{string} desc, \_\_7\_ \mbox{\hyperlink{class_qore_1_1_thread_1_1_queue}{Qore::Thread::Queue}} queue, \textcolor{keyword}{auto} arg);}
\DoxyCodeLine{137 }
\DoxyCodeLine{138 \textcolor{keyword}{public}:}
\DoxyCodeLine{140 }
\DoxyCodeLine{161  \mbox{\hyperlink{class_qore_1_1_s_q_l_1_1_datasource_pool_abfeb365709f224491b145c068dc31809}{constructor}}(hash<auto> opts, \_\_7\_ \mbox{\hyperlink{class_qore_1_1_thread_1_1_queue}{Qore::Thread::Queue}} queue, \textcolor{keyword}{auto} arg);}
\DoxyCodeLine{162 }
\DoxyCodeLine{163 \textcolor{keyword}{public}:}
\DoxyCodeLine{165 }
\DoxyCodeLine{170  \mbox{\hyperlink{class_qore_1_1_s_q_l_1_1_datasource_pool_a5dd026e94aff8eedf8820db9e83a2e56}{copy}}();}
\DoxyCodeLine{171 }
\DoxyCodeLine{172 \textcolor{keyword}{public}:}
\DoxyCodeLine{174 }
\DoxyCodeLine{186 \textcolor{keywordtype}{bool} \mbox{\hyperlink{class_qore_1_1_s_q_l_1_1_datasource_pool_ac983fd7cd64d2de924113b8cb540ca11}{currentThreadInTransaction}}();}
\DoxyCodeLine{187 }
\DoxyCodeLine{188 \textcolor{keyword}{public}:}
\DoxyCodeLine{190 }
\DoxyCodeLine{197  \mbox{\hyperlink{class_qore_1_1_s_q_l_1_1_datasource_pool_af27a22a3f441e4ef8727e32b9532a8c5}{destructor}}();}
\DoxyCodeLine{198 }
\DoxyCodeLine{199 \textcolor{keyword}{public}:}
\DoxyCodeLine{201 }
\DoxyCodeLine{215 \textcolor{keyword}{auto} \mbox{\hyperlink{class_qore_1_1_s_q_l_1_1_datasource_pool_a63735bf6bce9e84968a57786965163da}{exec}}(\textcolor{keywordtype}{string} sql,  ...);}
\DoxyCodeLine{216 }
\DoxyCodeLine{217 \textcolor{keyword}{public}:}
\DoxyCodeLine{219 }
\DoxyCodeLine{235 \textcolor{keyword}{auto} \mbox{\hyperlink{class_qore_1_1_s_q_l_1_1_datasource_pool_a3e7e022470ddc471f045ab29ee25c4d7}{execRaw}}(\textcolor{keywordtype}{string} sql);}
\DoxyCodeLine{236 }
\DoxyCodeLine{237 \textcolor{keyword}{public}:}
\DoxyCodeLine{239 }
\DoxyCodeLine{253 \textcolor{keywordtype}{int} \mbox{\hyperlink{class_qore_1_1_s_q_l_1_1_datasource_pool_a6b84d1a73d81d05158087517ae31bdfe}{getCapabilities}}();}
\DoxyCodeLine{254 }
\DoxyCodeLine{255 \textcolor{keyword}{public}:}
\DoxyCodeLine{257 }
\DoxyCodeLine{271 list<auto> \mbox{\hyperlink{class_qore_1_1_s_q_l_1_1_datasource_pool_ae66bfb74be86806d22002e0584f6b604}{getCapabilityList}}();}
\DoxyCodeLine{272 }
\DoxyCodeLine{273 \textcolor{keyword}{public}:}
\DoxyCodeLine{275 }
\DoxyCodeLine{284 \textcolor{keyword}{auto} \mbox{\hyperlink{class_qore_1_1_s_q_l_1_1_datasource_pool_a4a5bff189485cb1a33e336f7880432dc}{getClientVersion}}();}
\DoxyCodeLine{285 }
\DoxyCodeLine{286 \textcolor{keyword}{public}:}
\DoxyCodeLine{288 }
\DoxyCodeLine{300 hash<auto> \mbox{\hyperlink{class_qore_1_1_s_q_l_1_1_datasource_pool_ae3bbee0fcb4cbc422d65814d61339f93}{getConfigHash}}();}
\DoxyCodeLine{301 }
\DoxyCodeLine{302 \textcolor{keyword}{public}:}
\DoxyCodeLine{304 }
\DoxyCodeLine{316 \textcolor{keywordtype}{string} \mbox{\hyperlink{class_qore_1_1_s_q_l_1_1_datasource_pool_a1eddfff5b95e355b5608554975984307}{getConfigString}}();}
\DoxyCodeLine{317 }
\DoxyCodeLine{318 \textcolor{keyword}{public}:}
\DoxyCodeLine{320 }
\DoxyCodeLine{332 \_\_7\_ \textcolor{keywordtype}{string} \mbox{\hyperlink{class_qore_1_1_s_q_l_1_1_datasource_pool_a81fdc65a09a9c6637ae12945a49cee00}{getDBCharset}}();}
\DoxyCodeLine{333 }
\DoxyCodeLine{334 \textcolor{keyword}{public}:}
\DoxyCodeLine{336 }
\DoxyCodeLine{348 \_\_7\_ \textcolor{keywordtype}{string} \mbox{\hyperlink{class_qore_1_1_s_q_l_1_1_datasource_pool_a7f07246a7db1db14313420c18bcbcf8b}{getDBEncoding}}();}
\DoxyCodeLine{349 }
\DoxyCodeLine{350 \textcolor{keyword}{public}:}
\DoxyCodeLine{352 }
\DoxyCodeLine{362 \_\_7\_ \textcolor{keywordtype}{string} \mbox{\hyperlink{class_qore_1_1_s_q_l_1_1_datasource_pool_a5babda43969ce082f11eae6d9a21d581}{getDBName}}();}
\DoxyCodeLine{363 }
\DoxyCodeLine{364 \textcolor{keyword}{public}:}
\DoxyCodeLine{366 }
\DoxyCodeLine{376 \textcolor{keywordtype}{string} \mbox{\hyperlink{class_qore_1_1_s_q_l_1_1_datasource_pool_a003bb3bb9f55224159f49c574d0d1464}{getDriverName}}();}
\DoxyCodeLine{377 }
\DoxyCodeLine{378 \textcolor{keyword}{public}:}
\DoxyCodeLine{380 }
\DoxyCodeLine{392 \textcolor{keywordtype}{int} \mbox{\hyperlink{class_qore_1_1_s_q_l_1_1_datasource_pool_a4043aba7b45cce75a8962f38ac9c4249}{getErrorTimeout}}();}
\DoxyCodeLine{393 }
\DoxyCodeLine{394 \textcolor{keyword}{public}:}
\DoxyCodeLine{396 }
\DoxyCodeLine{406 \_\_7\_ \textcolor{keywordtype}{string} \mbox{\hyperlink{class_qore_1_1_s_q_l_1_1_datasource_pool_a293eaadc3ab98b9a57f9c155e5ed2221}{getHostName}}();}
\DoxyCodeLine{407 }
\DoxyCodeLine{408 \textcolor{keyword}{public}:}
\DoxyCodeLine{410 }
\DoxyCodeLine{421 \textcolor{keywordtype}{int} \mbox{\hyperlink{class_qore_1_1_s_q_l_1_1_datasource_pool_ab432f1306dd112d426d64839f2c1a891}{getMaximum}}();}
\DoxyCodeLine{422 }
\DoxyCodeLine{423 \textcolor{keyword}{public}:}
\DoxyCodeLine{425 }
\DoxyCodeLine{437 \textcolor{keywordtype}{int} \mbox{\hyperlink{class_qore_1_1_s_q_l_1_1_datasource_pool_ab5f806c9f6c6beb16bd0714b533d27fc}{getMinimum}}();}
\DoxyCodeLine{438 }
\DoxyCodeLine{439 \textcolor{keyword}{public}:}
\DoxyCodeLine{441 }
\DoxyCodeLine{453 \textcolor{keywordtype}{string} \mbox{\hyperlink{class_qore_1_1_s_q_l_1_1_datasource_pool_af07e9048d42519070a937beea07423fc}{getOSCharset}}();}
\DoxyCodeLine{454 }
\DoxyCodeLine{455 \textcolor{keyword}{public}:}
\DoxyCodeLine{457 }
\DoxyCodeLine{467 \_\_7\_ \textcolor{keywordtype}{string} \mbox{\hyperlink{class_qore_1_1_s_q_l_1_1_datasource_pool_a894276b97b76b3526516613f1182dee5}{getOSEncoding}}();}
\DoxyCodeLine{468 }
\DoxyCodeLine{469 \textcolor{keyword}{public}:}
\DoxyCodeLine{471 }
\DoxyCodeLine{480 \textcolor{keyword}{auto} \mbox{\hyperlink{class_qore_1_1_s_q_l_1_1_datasource_pool_abf16cc3f2c883bae4e0e6896e6ee2f69}{getOption}}(\textcolor{keywordtype}{string} opt);}
\DoxyCodeLine{481 }
\DoxyCodeLine{482 \textcolor{keyword}{public}:}
\DoxyCodeLine{484 }
\DoxyCodeLine{494 hash<auto> \mbox{\hyperlink{class_qore_1_1_s_q_l_1_1_datasource_pool_a28a5822d34f44937587d55a0294344f4}{getOptionHash}}();}
\DoxyCodeLine{495 }
\DoxyCodeLine{496 \textcolor{keyword}{public}:}
\DoxyCodeLine{498 }
\DoxyCodeLine{508 \_\_7\_ \textcolor{keywordtype}{string} \mbox{\hyperlink{class_qore_1_1_s_q_l_1_1_datasource_pool_a09f75c1b73aa9971b2ae8cd57e1e38c0}{getPassword}}();}
\DoxyCodeLine{509 }
\DoxyCodeLine{510 \textcolor{keyword}{public}:}
\DoxyCodeLine{512 }
\DoxyCodeLine{522 \_\_7\_ \textcolor{keywordtype}{int} \mbox{\hyperlink{class_qore_1_1_s_q_l_1_1_datasource_pool_a99935d80ec9ca0739ed3031ec614ce52}{getPort}}();}
\DoxyCodeLine{523 }
\DoxyCodeLine{524 \textcolor{keyword}{public}:}
\DoxyCodeLine{526 }
\DoxyCodeLine{535 \mbox{\hyperlink{class_qore_1_1_s_q_l_1_1_abstract_s_q_l_statement}{AbstractSQLStatement}} \mbox{\hyperlink{class_qore_1_1_s_q_l_1_1_datasource_pool_af59598025506fa7079b734018a89decf}{getSQLStatement}}();}
\DoxyCodeLine{536 }
\DoxyCodeLine{537 \textcolor{keyword}{public}:}
\DoxyCodeLine{539 }
\DoxyCodeLine{548 \textcolor{keyword}{auto} \mbox{\hyperlink{class_qore_1_1_s_q_l_1_1_datasource_pool_a953480807dbdafae0808a6c47014c0d6}{getServerVersion}}();}
\DoxyCodeLine{549 }
\DoxyCodeLine{550 \textcolor{keyword}{public}:}
\DoxyCodeLine{552 }
\DoxyCodeLine{572 \_\_7\_ hash<auto> \mbox{\hyperlink{class_qore_1_1_s_q_l_1_1_datasource_pool_a049589e6983d84194795521b71379a8d}{getUsageInfo}}();}
\DoxyCodeLine{573 }
\DoxyCodeLine{574 \textcolor{keyword}{public}:}
\DoxyCodeLine{576 }
\DoxyCodeLine{586 \_\_7\_ \textcolor{keywordtype}{string} \mbox{\hyperlink{class_qore_1_1_s_q_l_1_1_datasource_pool_aaf036746fb8d7c107b09d7288924b64b}{getUserName}}();}
\DoxyCodeLine{587 }
\DoxyCodeLine{588 \textcolor{keyword}{public}:}
\DoxyCodeLine{590 }
\DoxyCodeLine{600 \textcolor{keywordtype}{bool} \mbox{\hyperlink{class_qore_1_1_s_q_l_1_1_datasource_pool_a3b868b40604c049b4bf78b121ede7c16}{inTransaction}}();}
\DoxyCodeLine{601 }
\DoxyCodeLine{602 \textcolor{keyword}{public}:}
\DoxyCodeLine{604 }
\DoxyCodeLine{610 nothing \mbox{\hyperlink{class_qore_1_1_s_q_l_1_1_datasource_pool_a73532001be895a5a30cc58c5bfbe2c1c}{rollback}}();}
\DoxyCodeLine{611 }
\DoxyCodeLine{612 \textcolor{keyword}{public}:}
\DoxyCodeLine{614 }
\DoxyCodeLine{645 \textcolor{keyword}{auto} \mbox{\hyperlink{class_qore_1_1_s_q_l_1_1_datasource_pool_acafe45a0cf883bc51917e7a0bb8e77fd}{select}}(\textcolor{keywordtype}{string} sql,  ...);}
\DoxyCodeLine{646 }
\DoxyCodeLine{647 \textcolor{keyword}{public}:}
\DoxyCodeLine{649 }
\DoxyCodeLine{669 \textcolor{keyword}{auto} \mbox{\hyperlink{class_qore_1_1_s_q_l_1_1_datasource_pool_ac194599669509211cc64e9caf0aa56b3}{selectRow}}(\textcolor{keywordtype}{string} sql,  ...);}
\DoxyCodeLine{670 }
\DoxyCodeLine{671 \textcolor{keyword}{public}:}
\DoxyCodeLine{673 }
\DoxyCodeLine{695 \textcolor{keyword}{auto} \mbox{\hyperlink{class_qore_1_1_s_q_l_1_1_datasource_pool_a9298e44c0af5bb93330c929b47cde5c9}{selectRows}}(\textcolor{keywordtype}{string} sql,  ...);}
\DoxyCodeLine{696 }
\DoxyCodeLine{697 \textcolor{keyword}{public}:}
\DoxyCodeLine{699 }
\DoxyCodeLine{706  \mbox{\hyperlink{class_qore_1_1_s_q_l_1_1_datasource_pool_a2347794ada3fa9c629e705b7d1e6ee56}{setErrorTimeout}}(timeout ts);}
\DoxyCodeLine{707 }
\DoxyCodeLine{708 \textcolor{keyword}{public}:}
\DoxyCodeLine{710 }
\DoxyCodeLine{717 nothing \mbox{\hyperlink{class_qore_1_1_s_q_l_1_1_datasource_pool_a358c35bb971eccbdcf917b9c5e3bed19}{setEventQueue}}(\mbox{\hyperlink{class_qore_1_1_thread_1_1_queue}{Qore::Thread::Queue}} queue, \textcolor{keyword}{auto} arg);}
\DoxyCodeLine{718 }
\DoxyCodeLine{719 \textcolor{keyword}{public}:}
\DoxyCodeLine{721 }
\DoxyCodeLine{737  \mbox{\hyperlink{class_qore_1_1_s_q_l_1_1_datasource_pool_a8793cfc4c27420eda345f8a8d0224d6d}{setWarningCallback}}(timeout ms, code callback, \textcolor{keyword}{auto} arg);}
\DoxyCodeLine{738 }
\DoxyCodeLine{739 \textcolor{keyword}{public}:}
\DoxyCodeLine{741 }
\DoxyCodeLine{752 \textcolor{keywordtype}{string} \mbox{\hyperlink{class_qore_1_1_s_q_l_1_1_datasource_pool_abbad1ff5e3fb76ffc76ca48eb097f615}{toString}}();}
\DoxyCodeLine{753 }
\DoxyCodeLine{754 \textcolor{keyword}{public}:}
\DoxyCodeLine{756 }
\DoxyCodeLine{772 \textcolor{keyword}{auto} \mbox{\hyperlink{class_qore_1_1_s_q_l_1_1_datasource_pool_af3013ed0756f9bfa1e7ddf5232e0bf7e}{vexec}}(\textcolor{keywordtype}{string} sql, \_\_7\_ softlist<auto> vargs);}
\DoxyCodeLine{773 }
\DoxyCodeLine{774 \textcolor{keyword}{public}:}
\DoxyCodeLine{776 }
\DoxyCodeLine{804 \textcolor{keyword}{auto} \mbox{\hyperlink{class_qore_1_1_s_q_l_1_1_datasource_pool_a1162ad06aa3f4fc5fb31531ef5ca624b}{vselect}}(\textcolor{keywordtype}{string} sql, \_\_7\_ softlist<auto> vargs);}
\DoxyCodeLine{805 }
\DoxyCodeLine{806 \textcolor{keyword}{public}:}
\DoxyCodeLine{808 }
\DoxyCodeLine{828 \textcolor{keyword}{auto} \mbox{\hyperlink{class_qore_1_1_s_q_l_1_1_datasource_pool_a9cfedca21f0be7698893b5e5cc5d394a}{vselectRow}}(\textcolor{keywordtype}{string} sql, \_\_7\_ softlist<auto> vargs);}
\DoxyCodeLine{829 }
\DoxyCodeLine{830 \textcolor{keyword}{public}:}
\DoxyCodeLine{832 }
\DoxyCodeLine{856 \textcolor{keyword}{auto} \mbox{\hyperlink{class_qore_1_1_s_q_l_1_1_datasource_pool_ae214619fc06c77270ed38e7c013538e9}{vselectRows}}(\textcolor{keywordtype}{string} sql, \_\_7\_ softlist<auto> vargs);}
\DoxyCodeLine{857 \};}
\DoxyCodeLine{858 \}}
\DoxyCodeLine{859 \}}

\end{DoxyCode}
