Skip to content

hope to add a single layer preload condition limit. #905

Open
@sowork

Description

@sowork

e.g

$robots = Robot::with(
	[
		'Foo' => function (QueryBuilder $builder) {
			// Limit Bar
			$builder->limit(5)
                                     ->with('Bar');
		}
	]
);

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions