Metadata are retrieved in db layer, thus minimizing the required SQL queries, i.e. previously 3 for every collection - now 3 for all collections.
v.0.3.4
Small refactor, nothing great - makes more sense when reading.
What if something changes in the database after #_bootstrap() is called? How do you tell the db to update metadata?
Well, for now, you just call _bootstrap() again. I 've remove the isReady check.
First attempt to capture foreign key metadata.
Renamed Database#_bootstrap() to _loadMeta. Makes more sense.
Null values in selector require special treatment.
Default callback is not needed in the Collection.
@Database properties: tables + connectionProperties should be hidden from the world.
Methods #existsTable() and #existsColumn() became #hasTable() and #hasColumn() respectfully.
v.0.3.5