Ticket #877 (new enhancement)
TActiveRecord should support getTableInfo method.
| Reported by: | sergeymorkovkin | Owned by: | xue |
|---|---|---|---|
| Priority: | low | Milestone: | 3.1.3 |
| Component: | Prado Framework v3 | Version: | 3.1 |
| Severity: | minor | Keywords: | |
| Cc: |
Description
This method will return table information when overriden (TTableInfo). This will allow to avoid additional database requests for table structures, avoid caching and save execution time.
Moreover, this will allow developers to keep database installation information behind database classes! No *.sql scripts and additional code to build database. Everything is included into Prado. Adding simple class TDbBuilder will allow to perform database operations with ease: TDbBuilder::install($db, $path), TDbBuilder::uninstall($db).
Change History
Note: See
TracTickets for help on using
tickets.
