\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{378 \textcolor{keywordtype}{string} \mbox{\hyperlink{class_qore_1_1_s_q_l_1_1_datasource_pool_a003bb3bb9f55224159f49c574d0d1464}{getDriverName}}();}
\DoxyCodeLine{379 }
\DoxyCodeLine{380 \textcolor{keyword}{public}:}
\DoxyCodeLine{382 }
\DoxyCodeLine{401 \textcolor{keywordtype}{string} \mbox{\hyperlink{class_qore_1_1_s_q_l_1_1_datasource_pool_ad1b8a62ec0ebc41b2d5346be6d6e0f95}{getDriverRealName}}();}
\DoxyCodeLine{402 }
\DoxyCodeLine{403 \textcolor{keyword}{public}:}
\DoxyCodeLine{405 }
\DoxyCodeLine{417 \textcolor{keywordtype}{int} \mbox{\hyperlink{class_qore_1_1_s_q_l_1_1_datasource_pool_a4043aba7b45cce75a8962f38ac9c4249}{getErrorTimeout}}();}
\DoxyCodeLine{418 }
\DoxyCodeLine{419 \textcolor{keyword}{public}:}
\DoxyCodeLine{421 }
\DoxyCodeLine{431 \_\_7\_ \textcolor{keywordtype}{string} \mbox{\hyperlink{class_qore_1_1_s_q_l_1_1_datasource_pool_a293eaadc3ab98b9a57f9c155e5ed2221}{getHostName}}();}
\DoxyCodeLine{432 }
\DoxyCodeLine{433 \textcolor{keyword}{public}:}
\DoxyCodeLine{435 }
\DoxyCodeLine{446 \textcolor{keywordtype}{int} \mbox{\hyperlink{class_qore_1_1_s_q_l_1_1_datasource_pool_ab432f1306dd112d426d64839f2c1a891}{getMaximum}}();}
\DoxyCodeLine{447 }
\DoxyCodeLine{448 \textcolor{keyword}{public}:}
\DoxyCodeLine{450 }
\DoxyCodeLine{462 \textcolor{keywordtype}{int} \mbox{\hyperlink{class_qore_1_1_s_q_l_1_1_datasource_pool_ab5f806c9f6c6beb16bd0714b533d27fc}{getMinimum}}();}
\DoxyCodeLine{463 }
\DoxyCodeLine{464 \textcolor{keyword}{public}:}
\DoxyCodeLine{466 }
\DoxyCodeLine{478 \textcolor{keywordtype}{string} \mbox{\hyperlink{class_qore_1_1_s_q_l_1_1_datasource_pool_af07e9048d42519070a937beea07423fc}{getOSCharset}}();}
\DoxyCodeLine{479 }
\DoxyCodeLine{480 \textcolor{keyword}{public}:}
\DoxyCodeLine{482 }
\DoxyCodeLine{492 \_\_7\_ \textcolor{keywordtype}{string} \mbox{\hyperlink{class_qore_1_1_s_q_l_1_1_datasource_pool_a894276b97b76b3526516613f1182dee5}{getOSEncoding}}();}
\DoxyCodeLine{493 }
\DoxyCodeLine{494 \textcolor{keyword}{public}:}
\DoxyCodeLine{496 }
\DoxyCodeLine{505 \textcolor{keyword}{auto} \mbox{\hyperlink{class_qore_1_1_s_q_l_1_1_datasource_pool_abf16cc3f2c883bae4e0e6896e6ee2f69}{getOption}}(\textcolor{keywordtype}{string} opt);}
\DoxyCodeLine{506 }
\DoxyCodeLine{507 \textcolor{keyword}{public}:}
\DoxyCodeLine{509 }
\DoxyCodeLine{519 hash<auto> \mbox{\hyperlink{class_qore_1_1_s_q_l_1_1_datasource_pool_a28a5822d34f44937587d55a0294344f4}{getOptionHash}}();}
\DoxyCodeLine{520 }
\DoxyCodeLine{521 \textcolor{keyword}{public}:}
\DoxyCodeLine{523 }
\DoxyCodeLine{533 \_\_7\_ \textcolor{keywordtype}{string} \mbox{\hyperlink{class_qore_1_1_s_q_l_1_1_datasource_pool_a09f75c1b73aa9971b2ae8cd57e1e38c0}{getPassword}}();}
\DoxyCodeLine{534 }
\DoxyCodeLine{535 \textcolor{keyword}{public}:}
\DoxyCodeLine{537 }
\DoxyCodeLine{547 \_\_7\_ \textcolor{keywordtype}{int} \mbox{\hyperlink{class_qore_1_1_s_q_l_1_1_datasource_pool_a99935d80ec9ca0739ed3031ec614ce52}{getPort}}();}
\DoxyCodeLine{548 }
\DoxyCodeLine{549 \textcolor{keyword}{public}:}
\DoxyCodeLine{551 }
\DoxyCodeLine{560 \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{561 }
\DoxyCodeLine{562 \textcolor{keyword}{public}:}
\DoxyCodeLine{564 }
\DoxyCodeLine{573 \textcolor{keyword}{auto} \mbox{\hyperlink{class_qore_1_1_s_q_l_1_1_datasource_pool_a953480807dbdafae0808a6c47014c0d6}{getServerVersion}}();}
\DoxyCodeLine{574 }
\DoxyCodeLine{575 \textcolor{keyword}{public}:}
\DoxyCodeLine{577 }
\DoxyCodeLine{597 \_\_7\_ hash<auto> \mbox{\hyperlink{class_qore_1_1_s_q_l_1_1_datasource_pool_a049589e6983d84194795521b71379a8d}{getUsageInfo}}();}
\DoxyCodeLine{598 }
\DoxyCodeLine{599 \textcolor{keyword}{public}:}
\DoxyCodeLine{601 }
\DoxyCodeLine{611 \_\_7\_ \textcolor{keywordtype}{string} \mbox{\hyperlink{class_qore_1_1_s_q_l_1_1_datasource_pool_aaf036746fb8d7c107b09d7288924b64b}{getUserName}}();}
\DoxyCodeLine{612 }
\DoxyCodeLine{613 \textcolor{keyword}{public}:}
\DoxyCodeLine{615 }
\DoxyCodeLine{625 \textcolor{keywordtype}{bool} \mbox{\hyperlink{class_qore_1_1_s_q_l_1_1_datasource_pool_a3b868b40604c049b4bf78b121ede7c16}{inTransaction}}();}
\DoxyCodeLine{626 }
\DoxyCodeLine{627 \textcolor{keyword}{public}:}
\DoxyCodeLine{629 }
\DoxyCodeLine{635 nothing \mbox{\hyperlink{class_qore_1_1_s_q_l_1_1_datasource_pool_a73532001be895a5a30cc58c5bfbe2c1c}{rollback}}();}
\DoxyCodeLine{636 }
\DoxyCodeLine{637 \textcolor{keyword}{public}:}
\DoxyCodeLine{639 }
\DoxyCodeLine{670 \textcolor{keyword}{auto} \mbox{\hyperlink{class_qore_1_1_s_q_l_1_1_datasource_pool_acafe45a0cf883bc51917e7a0bb8e77fd}{select}}(\textcolor{keywordtype}{string} sql,  ...);}
\DoxyCodeLine{671 }
\DoxyCodeLine{672 \textcolor{keyword}{public}:}
\DoxyCodeLine{674 }
\DoxyCodeLine{694 \textcolor{keyword}{auto} \mbox{\hyperlink{class_qore_1_1_s_q_l_1_1_datasource_pool_ac194599669509211cc64e9caf0aa56b3}{selectRow}}(\textcolor{keywordtype}{string} sql,  ...);}
\DoxyCodeLine{695 }
\DoxyCodeLine{696 \textcolor{keyword}{public}:}
\DoxyCodeLine{698 }
\DoxyCodeLine{720 \textcolor{keyword}{auto} \mbox{\hyperlink{class_qore_1_1_s_q_l_1_1_datasource_pool_a9298e44c0af5bb93330c929b47cde5c9}{selectRows}}(\textcolor{keywordtype}{string} sql,  ...);}
\DoxyCodeLine{721 }
\DoxyCodeLine{722 \textcolor{keyword}{public}:}
\DoxyCodeLine{724 }
\DoxyCodeLine{731  \mbox{\hyperlink{class_qore_1_1_s_q_l_1_1_datasource_pool_a2347794ada3fa9c629e705b7d1e6ee56}{setErrorTimeout}}(timeout ts);}
\DoxyCodeLine{732 }
\DoxyCodeLine{733 \textcolor{keyword}{public}:}
\DoxyCodeLine{735 }
\DoxyCodeLine{742 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{743 }
\DoxyCodeLine{744 \textcolor{keyword}{public}:}
\DoxyCodeLine{746 }
\DoxyCodeLine{762  \mbox{\hyperlink{class_qore_1_1_s_q_l_1_1_datasource_pool_a8793cfc4c27420eda345f8a8d0224d6d}{setWarningCallback}}(timeout ms, code callback, \textcolor{keyword}{auto} arg);}
\DoxyCodeLine{763 }
\DoxyCodeLine{764 \textcolor{keyword}{public}:}
\DoxyCodeLine{766 }
\DoxyCodeLine{777 \textcolor{keywordtype}{string} \mbox{\hyperlink{class_qore_1_1_s_q_l_1_1_datasource_pool_abbad1ff5e3fb76ffc76ca48eb097f615}{toString}}();}
\DoxyCodeLine{778 }
\DoxyCodeLine{779 \textcolor{keyword}{public}:}
\DoxyCodeLine{781 }
\DoxyCodeLine{797 \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{798 }
\DoxyCodeLine{799 \textcolor{keyword}{public}:}
\DoxyCodeLine{801 }
\DoxyCodeLine{829 \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{830 }
\DoxyCodeLine{831 \textcolor{keyword}{public}:}
\DoxyCodeLine{833 }
\DoxyCodeLine{853 \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{854 }
\DoxyCodeLine{855 \textcolor{keyword}{public}:}
\DoxyCodeLine{857 }
\DoxyCodeLine{881 \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{882 \};}
\DoxyCodeLine{883 \}}
\DoxyCodeLine{884 \}}

\end{DoxyCode}
