mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Fix for joins code block
This commit is contained in:
parent
eed2293f31
commit
171eb42c9e
@ -316,7 +316,7 @@ that does not exist in a Group.
|
||||
|
||||
You can limit the amount of records returned in a DataList by using the
|
||||
`limit()` method.
|
||||
|
||||
|
||||
:::php
|
||||
// Returning the first 5 members, sorted alphabetically by Surname
|
||||
$members = Member::get()->sort('Surname')->limit(5);
|
||||
|
Loading…
Reference in New Issue
Block a user