|
OXY API 1.0
OXY API Library Documentation
|
Function object to copy a table or filtered data from one SQLite database to another. More...
#include <connection.hpp>
Public Member Functions | |
| void | operator() (connection_ptr const &source, std::string const &schema_name, std::string const &table_name) const |
| void | operator() (connection_ptr const &source, std::string const &schema_name, std::string const &table_name, std::string const &filter_name) const |
| void | operator() (fs::path const &source, fs::path const &target, std::string const &table_name) const |
Function object to copy a table or filtered data from one SQLite database to another.
This function object provides multiple overloads of the operator() to copy a table or filtered data from a source connection or file path to a target connection or file path.
| void oxy::copy_fn::operator() | ( | connection_ptr const & | source, |
| std::string const & | schema_name, | ||
| std::string const & | table_name ) const |
| source | - The connection pointer to the source SQLite database. |
| schema_name | - The schema name of the source database. |
| table_name | - The name of the table to be copied. |
| void oxy::copy_fn::operator() | ( | connection_ptr const & | source, |
| std::string const & | schema_name, | ||
| std::string const & | table_name, | ||
| std::string const & | filter_name ) const |
| source | - The connection pointer to the source SQLite database. |
| schema_name | - The schema name of the source database. |
| table_name | - The name of the table to be copied. |
| filter_name | - The name of the filter to be applied. |
| void oxy::copy_fn::operator() | ( | fs::path const & | source, |
| fs::path const & | target, | ||
| std::string const & | table_name ) const |
| source | - The filesystem path to the source SQLite database. |
| target | - The filesystem path to the target SQLite database. |
| table_name | - The name of the table to be copied. |