* Define a new relation. * @param definition - The definition of the new relation.
(definition: RelationMetadata)
| 183 | * @param definition - The definition of the new relation. |
| 184 | */ |
| 185 | addRelation(definition: RelationMetadata): this { |
| 186 | this.relations[definition.name] = definition; |
| 187 | return this; |
| 188 | } |
| 189 | |
| 190 | /** |
| 191 | * Define a new belongsTo relation. |
no outgoing calls
no test coverage detected