可选cacheEnables or disables query result caching.
可选commentAdds a comment with the supplied string in the generated query. This is helpful for debugging purposes, such as finding a specific query in the database server's logs, or for categorization using an APM product.
可选joinSpecifies what relations should be loaded.
可选loadIndicates if eager relations should be loaded or not. By default, they are loaded when find methods are used.
可选loadIf sets to true then loads all relation ids of the entity and maps them into relation values (not relation objects). If array of strings is given then loads only relation ids of the given properties.
可选lockIndicates what locking mode should be used.
Note: For lock tables, you must specify the table names and not the relation names
可选orderOrder, in which entities should be ordered.
可选relationSpecifies how relations must be loaded - using "joins" or separate queries. If you are loading too much data with nested joins it's better to load relations using separate queries.
Default strategy is "join", but default can be customized in connection options.
可选relationsIndicates what relations of entity should be loaded (simplified left join form).
可选selectSpecifies what columns should be retrieved.
可选skipOffset (paginated) where from entities should be taken.
可选takeLimit (paginated) - max number of entities should be taken.
可选transactionIf this is set to true, SELECT query in a find method will be executed in a transaction.
可选whereSimple condition that should be applied to match entities.
可选withIndicates if soft-deleted rows should be included in entity result.
Defines a special criteria to find specific entities.