mirror of
https://github.com/silverqx/TinyORM.git
synced 2026-02-10 20:39:32 -06:00
The HasOne and BelongsTo can now return default model instead of the nullptr. - also added tests - added documentation - updated test db structure, null foreign key in previewable files - to the test db into the previewable files added row without parent - relation factory methods return actual creating type instead of the general base Relation type
TinyORM: Documentation
TinyORM is a modern ORM library that makes interacting with a database extremely simple.
The code is well tested with the unit and functional tests. Almost all the query builder methods are unit tested. The TinyORM's query builder code and the code which is responsible for obtaining relationships, is tested by functional tests against a real MySQL database. For now, the code coverage is not ideal but is good enough to guarantee API and behavior compatibility.