메소드 |
설명 |
|
belongsTo ( string $related, null $foreignKey = null, null $otherKey = null, null $relation = null ) : BelongsTo |
Replace the original belongsTo function to forward the connection name |
|
belongsToMany ( string $related, null $table = null, null $foreignKey = null, null $otherKey = null, null $relation = null ) : Illuminate\Database\Eloquent\Relations\BelongsToMany |
Replace the original belongsToMany function to forward the connection name |
|
getRelationValue ( string $key ) : mixed |
Get the relation value setting the connection name |
|
hasMany ( string $related, null $foreignKey = null, null $localKey = null ) : Illuminate\Database\Eloquent\Relations\HasMany |
Replace the original hasMany function to forward the connection name |
|
hasOne ( string $related, null $foreignKey = null, null $localKey = null ) : Illuminate\Database\Eloquent\Relations\HasOne |
Replace the original hasOne function to forward the connection name |
|