Database return the name of the database
This commit is contained in:
parent
f3176fd6ab
commit
16676ee574
1 changed files with 8 additions and 1 deletions
|
|
@ -80,7 +80,14 @@ class DatabaseCore
|
|||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* return the name of the current database
|
||||
* @return false|string
|
||||
*/
|
||||
public function get_name () {
|
||||
return pg_dbname($this->ret);
|
||||
}
|
||||
|
||||
public function verify()
|
||||
{
|
||||
// Verify that the elt we want to add is correct
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue