Overview
You can alias your target fields and relations if you don’t wish to expose database field names and relationship method names to your frontend. The below example:- Allows
nameand usesfirst_namein the database query. - Allows
documentsand usesfilesas the relationship method name.

