OPtmization

This commit is contained in:
2023-12-04 15:14:37 +05:00
parent cd071f7c75
commit 4189c36c00
2 changed files with 9 additions and 4 deletions

View File

@@ -50,6 +50,13 @@ class LoanOrder extends Resource
*/
public static $title = 'unique_id';
/**
* The relationships that should be eager loaded on index queries.
*
* @var array
*/
public static $with = ['branch'];
/**
* The columns that should be searched.
*