Represents a database schema collection
Used to access information about the tables, and other data in a database.
$_connection protected $_dialect protected __construct( Cake\Database\Connection $connection )
Constructor.
Cake\Database\Connection $connection _reflect( string $stage , string $name , array $config , Cake\Database\Schema\TableSchema $schema )
Helper method for running each step of the reflection process.
$stage $name $config Cake\Database\Schema\TableSchema $schema Cake\Database\Exceptiondescribe( string $name , array $options [] )
Get the column metadata for a table.
Caching will be applied if cacheMetadata key is present in the Connection configuration options. Defaults to cake_model when true.
forceRefresh - Set to true to force rebuilding the cached metadata. Defaults to false.$name $options optional [] Cake\Database\Schema\TableSchemaCake\Database\ExceptionlistTables( )
Get the list of tables available in the current connection.
© 2005–2018 The Cake Software Foundation, Inc.
Licensed under the MIT License.
CakePHP is a registered trademark of Cake Software Foundation, Inc.
We are not endorsed by or affiliated with CakePHP.
https://api.cakephp.org/3.6/class-Cake.Database.Schema.Collection.html