project
Defines a projection class: the getters, and the public fields, will be used to restrict which fields should be retrieved from the database.
Return
@return a new query with the same state as the previous one (params, page, range, ...).
Defines a projection class: the getters, and the public fields, will be used to restrict which fields should be retrieved from the database.
@return a new query with the same state as the previous one (params, page, range, ...).