0
0
mirror of https://github.com/rbock/sqlpp11.git synced 2024-11-15 20:31:16 +08:00

Added hints to connector api

This commit is contained in:
rbock 2014-02-02 19:09:48 +01:00
parent e1f619eecb
commit a29e28bad3

View File

@ -70,7 +70,7 @@ namespace sqlpp
_prepared_statement_t prepare_select(Select& s); _prepared_statement_t prepare_select(Select& s);
template<typename PreparedSelect> template<typename PreparedSelect>
<<char_result_t or bind_result_t>> run_prepared_select(const PreparedSelect& s); <<char_result_t or bind_result_t>> run_prepared_select(const PreparedSelect& s); // call s._bind_params()
//! "direct insert //! "direct insert
template<typename Insert> template<typename Insert>
@ -81,7 +81,7 @@ namespace sqlpp
_prepared_statement_t prepare_insert(Insert& i); _prepared_statement_t prepare_insert(Insert& i);
template<typename PreparedInsert> template<typename PreparedInsert>
size_t run_prepared_insert(const PreparedInsert& i); size_t run_prepared_insert(const PreparedInsert& i); // call i._bind_params()
//! "direct" update //! "direct" update
template<typename Update> template<typename Update>
@ -92,7 +92,7 @@ namespace sqlpp
_prepared_statement_t prepare_update(Update& u); _prepared_statement_t prepare_update(Update& u);
template<typename PreparedUpdate> template<typename PreparedUpdate>
size_t run_prepared_update(const PreparedUpdate& u); size_t run_prepared_update(const PreparedUpdate& u); // call u._bind_params()
//! "direct" remove //! "direct" remove
template<typename Remove> template<typename Remove>
@ -103,7 +103,7 @@ namespace sqlpp
_prepared_statement_t prepare_remove(Remove& r); _prepared_statement_t prepare_remove(Remove& r);
template<typename PreparedRemove> template<typename PreparedRemove>
size_t run_prepared_remove(const PreparedRemove& r); size_t run_prepared_remove(const PreparedRemove& r); // call r._bind_params()
//! call run on the argument //! call run on the argument
template<typename T> template<typename T>