$injectionMetaCache
$injectionMetaCache : array
反射元数据缓存,避免重复反射同一个类 格式: [ ClassName => [ [property_name, attribute_instance, type_name], ... ] ]
Class BaseRepository 核心数据库操作基类
$injectionMetaCache : array
反射元数据缓存,避免重复反射同一个类 格式: [ ClassName => [ [property_name, attribute_instance, type_name], ... ] ]
$modelClass : string
$isEloquent : bool
buildQuery(mixed $query, array $criteria, array $orderBy = []) : mixed
QueryDSL 支持: ---------------------------------------- ['status' => 1] ['age' => ['>', 18]] ['price' => ['between', [10, 30]]] ['title' => ['like', '%abc%']] ['id' => ['in', [1,2,3]]] ['or' => [...]] ['group' => function($q){...}] ['raw' => 'id > 10']
| mixed | $query | |
| array | $criteria | |
| array | $orderBy |