Level 75
$students = Student::where('city', 'new york')->orderBy('name')->get();
1 like
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Can you explain this query please: "where('city', 'new york')->orderBy('name')get->()" ? $student=Student::where('city', 'new york')->orderBy('name')get->();
Please or to participate in this conversation.