-
-
Notifications
You must be signed in to change notification settings - Fork 206
Open
Description
Package version
21.6.1
Describe the bug
The model query ignores the select method:
Process.query().select('id')
gives the same result as
Process.query()
In both cases the result array contains whole model objects.
Expected:
The model query with select should return array of jsons with selected columns. The behavior should be the same as db.from('processes').select('id').
Note:
Process.query().select('id').toQuery() returns correct sql query select "id" from "processes"
Reproduction repo
No response
Metadata
Metadata
Assignees
Labels
No labels