-
selectAn object specifying the fields to include in the result. Setting a field to
truemeans to include it. If a field is a relation, you can provide an nested object to further specify which fields of the relation to include.This field is optional. If not provided, all non-relation fields are included by default. The
includefield is mutually exclusive with theselectfield. -
includeAn object specifying the relations to include in the result. Setting a relation to
truemeans to include it. You can pass an object to further choose what fields/relations are included for the relation, and/or awhereclause to filter the included relation records.This field is optional. If not provided, no relations are included by default. The
includefield is mutually exclusive with theselectfield. -
omitAn object specifying the fields to omit from the result. Setting a field to
truemeans to omit it. Only applicable to non-relation fields.This field is optional. If not provided, no fields are omitted by default. The
omitfield is mutually exclusive with theselectfield.See Omitting Fields for different ways to configure field omission.