mini\Database\PDODatabase::tableExists()
Method
public
Signature
public function tableExists(string $tableName): bool
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$tableName |
string |
required | Documentation missing |
Returns
bool
Documentation
Check if a table exists in the database
Note: This implementation uses a database-agnostic approach that should work with most SQL databases. For database-specific optimizations, consider creating specialized implementations.