Eloquent: Get the Latest Row from Relationship
Another "hidden gem" of Eloquent. Let's imagine that you want to query all rows from the table and also one related row - not all of them, but the newest one. Apparently, it's pretty easy.
Read the full articleYou might also wanna read
ArcGIS Pro Introduces arcgis.ai Module for AI-Powered Image and Text Analysis
Google updates Android Bench leaderboard with new Harbor testing framework and eight new AI models
How LLM Tool Calling Actually Works: Build an Agent From Scratch in 160 Lines of Python
Towards AI·39m ago

You're Not Imagining It. The AI Screening Your Resume Learned Every Bias We Never Fixed.
Code Like A Girl·44m ago

Didact: Build Your Own React from Scratch
BrightCoding·49m ago
How I Added an AI Copilot to My Laravel App in 4 Hours — Without Breaking Anything That Was Already…
sadiqueali.medium.com·2h ago

Comments
Sign in to join the conversation.
No comments yet. Be the first.