|
OXY API 1.0
OXY API Library Documentation
|
Function object to attach a SQLite database to an existing connection. More...
#include <connection.hpp>
Public Member Functions | |
| void | operator() (connection_ptr const &source, fs::path const &target, std::string const &schema_name) const |
Function object to attach a SQLite database to an existing connection.
This function object provides an operator() that takes a connection_ptr, a filesystem path to the target database, and a schema name, and attaches the target database to the source connection under the specified schema name.
| void oxy::attach_fn::operator() | ( | connection_ptr const & | source, |
| fs::path const & | target, | ||
| std::string const & | schema_name ) const |
| source | - The connection pointer to the source SQLite database. |
| target | - The filesystem path to the target SQLite database to be attached. |
| schema_name | - The schema name under which the target database will be attached. |