1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-01 12:20:44 +02:00

new methods added to PDO class.

This commit is contained in:
Cameron
2019-02-11 16:19:07 -08:00
parent c34f8b41f3
commit 4e6b68a709
3 changed files with 68 additions and 7 deletions

View File

@@ -369,7 +369,37 @@
public function columnCount();
/**
* Set the current database language
* @param string $lang English, French etc.
* @return null
*/
public function setLanguage($lang);
/**
* Get the current database language
* @return string $lang English, French etc.
*/
public function getLanguage();
/**
* Drop/delete table and all it's data
* @param string $table name without the prefix
* @return bool|int
*/
public function dropTable($table);
/**
* Returns the last database query used.
* @return string
*/
function getLastQuery();
}