Class Has_One_Or_Many
- Laravel\Database\Eloquent\Query
- Laravel\Database\Eloquent\Relationships\Relationship
- Laravel\Database\Eloquent\Relationships\Has_One_Or_Many
Direct known subclasses
Laravel\Database\Eloquent\Relationships\Has_Many, Laravel\Database\Eloquent\Relationships\Has_One
Namespace: Laravel\Database\Eloquent\Relationships
Located at laravel/database/eloquent/relationships/has_one_or_many.php
Located at laravel/database/eloquent/relationships/has_one_or_many.php
public
|
#
insert(
Insert a new record for the association. |
public
boolean
|
|
protected
|
|
public
|
#
eagerly_constrain( array $results )
Set the proper constraints on the relationship table for an eager load. |
__construct(),
foreign(),
foreign_key(),
fresh_model(),
keys(),
with()
|
__call(),
connection(),
find(),
first(),
get(),
hydrate(),
load(),
model_includes(),
nested_includes(),
paginate(),
table()
|
$base
|
$includes,
$model,
$passthru,
$table
|