mirror of
https://github.com/silverqx/TinyORM.git
synced 2026-01-06 02:49:31 -06:00
docs fixtypo
[skip ci]
This commit is contained in:
@@ -86,7 +86,7 @@ First, you have to extend the `Model<Derived, AllRelations...>`, it is a common
|
||||
|
||||
However, the second parameter is more interesting, here you have to provide a type-id of all related models. The TinyORM needs these types to store relationships in the hash.
|
||||
|
||||
Next, you have to define the `u_relations` hash, which maps a relation name to the relationship method. 🔥🚀🙌
|
||||
Next, you have to define the `u_relations` hash, which maps relation names to relationship methods. 🔥🚀🙌
|
||||
|
||||
:::tip
|
||||
You may omit the `friend Model` declaration and define all the private data and function members as public.
|
||||
|
||||
Reference in New Issue
Block a user