mini\Database\PDODatabase::withTables()
Method
public
Signature
public function withTables(array $tables): mini\Database\DatabaseInterface
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$tables |
array |
required | Documentation missing |
Returns
Documentation
Create a VirtualDatabase with shadowed tables
Registers all tables from this database as PartialQuery objects, then shadows with the provided tables. This allows joining between real database tables and mock/test data.