Computer foreignKey for belongsTo() from the "as" option.
If "foreignKey" is not provided, but "as" is provided, then compute the "foreignKey" from "as". This behavior matches the behavior of hasOne().
Showing
with
1 additions
and
1 deletions
-
Please register or sign in to post a comment