mirror of
https://github.com/rbock/sqlpp11.git
synced 2024-11-15 20:31:16 +08:00
Prepared insert/update/delete now work with the mysql connector
This commit is contained in:
parent
121f56549b
commit
a68d6fb828
@ -123,6 +123,11 @@ namespace sqlpp
|
||||
return _parameter_list_t::size::value;
|
||||
}
|
||||
|
||||
size_t _get_no_of_parameters()
|
||||
{
|
||||
return _parameter_list_t::size::value; // FIXME: Need to add dynamic parameters here
|
||||
}
|
||||
|
||||
template<typename Db>
|
||||
std::size_t run(Db& db) const
|
||||
{
|
||||
|
@ -157,6 +157,11 @@ namespace sqlpp
|
||||
return _parameter_list_t::size::value;
|
||||
}
|
||||
|
||||
size_t _get_no_of_parameters()
|
||||
{
|
||||
return _parameter_list_t::size::value; // FIXME: Need to add dynamic parameters here
|
||||
}
|
||||
|
||||
template<typename Db>
|
||||
std::size_t run(Db& db) const
|
||||
{
|
||||
|
@ -582,6 +582,11 @@ namespace sqlpp
|
||||
return _parameter_list_t::size::value;
|
||||
}
|
||||
|
||||
size_t _get_no_of_parameters()
|
||||
{
|
||||
return _parameter_list_t::size::value; // FIXME: Need to add dynamic parameters here
|
||||
}
|
||||
|
||||
size_t get_no_of_result_columns() const
|
||||
{
|
||||
return _result_row_t::static_size(); // FIXME: Need to add the size of dynamic columns
|
||||
|
@ -157,6 +157,11 @@ namespace sqlpp
|
||||
return _parameter_list_t::size::value;
|
||||
}
|
||||
|
||||
size_t _get_no_of_parameters()
|
||||
{
|
||||
return _parameter_list_t::size::value; // FIXME: Need to add dynamic parameters here
|
||||
}
|
||||
|
||||
template<typename Db>
|
||||
std::size_t run(Db& db) const
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user