datasources icon indicating copy to clipboard operation
datasources copied to clipboard

Describe returns proper schema and the schema is cached

Open watermark opened this issue 10 years ago • 0 comments

Per "Model/Datasource/DataSource.php", describe should return a metadata array, not a list of fields. When proper metadata isn't returned by describe, other functionality (such as $model->getColumnTypes()), is broken. Many behaviors depend on these core functions returning properly.

This patch also makes use of the built in schema caching provided by Cake2.

watermark avatar Apr 10 '14 17:04 watermark