Huge commit, added following documentation pages:
- Database: Getting Started
- Database: Query Builder
- TinyORM: Getting Started
- TinyORM: Relationships
Also fixed and added many features to match behavior described
in the documentation.
- added Orm::DB facade
- made DatabaseManager strict singleton
- added BaseModel/TinyBuilder::without method and also tests
- bugfix affecting statements always returned 1
- removed defaultConnection argument from the DatabaseManager::create
- added many proxy methods from DatabaseManager -> DatabaseConnection,
for transactions, select, update, remove, ... type methods and
DB::raw method
- added JoinClause::orOn method
- added QueryBuilder::groupBy overload
- added where type proxy methods to the Tiny::Relations::Relation
- added some missing where and order type proxy methods
to the TinyBuilder
- fixed typos and some minor fixes in a comment texts
- added feature which logs also transaction queries
- added a new exception class SqlTransactionError
- added overloaded methods to the
ConnectionInterface::savepoint/rollbackToSavepoint that takes size_t