Remove a few undocumented database-specific methods

This commit is contained in:
Timothy Warren 2014-02-07 14:16:39 -05:00
parent 9b80d946a9
commit f640de4e81

View File

@ -91,38 +91,6 @@ class SQLite extends DB_PDO {
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------
/**
* Load a database for the current connection
*
* @param string $db
* @param string $name
*/
public function load_database($db, $name)
{
$sql = 'ATTACH DATABASE "'.$db.'" AS "'.$name.'"';
$this->query($sql);
}
// --------------------------------------------------------------------------
/**
* Unload a database from the current connection
*
* @param string $name
*/
public function unload_database($name)
{
$sql = 'DETACH DATABASE ":name"';
$this->prepare_query($sql, array(
':name' => $name,
));
$this->statement->execute();
}
// --------------------------------------------------------------------------
/** /**
* Create sql for batch insert * Create sql for batch insert
* *