This commit is contained in:
Bastian Allgeier
2019-01-14 10:52:45 +01:00
parent 01277f79f2
commit 8070893b64
22 changed files with 482 additions and 351 deletions

View File

@@ -337,6 +337,16 @@ class Database
return $this->lastError;
}
/**
* Returns the name of the database
*
* @return string|null
*/
public function name(): ?string
{
return $this->database;
}
/**
* Private method to execute database queries.
* This is used by the query() and execute() methods