Database return the name of the database

This commit is contained in:
sparkyx 2023-05-24 16:42:37 +02:00
parent f3176fd6ab
commit 16676ee574

View file

@ -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