Hello Guys here i demonstrate how to use HasMany relation between two tables in controller, Relying on the example above, we have passed an array containing the desired composite keys to setForeignKey(). By default the bindingKey would be automatically defined as ...