Level 55
@annegodkona and... what do you want to group?
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I'm stuck in a omegle.2yu.co problem https://omegle.love that how to GROUP BY data in multi relational table. Here is my code:
$invoices = Invoice::select('id', 'date', 'type') ->with('invoice_items:invoice_id,item_id,amount', 'invoice_items.item_title:id,name') ->latest('id') ->get();
Please or to participate in this conversation.