import ParameterTypes from "@site/src/components/ParameterTypes"

# FindOptions

 **FindOptions**: `Object`

## Type Parameters

<ParameterTypes parameters={[
  {
    "name": "T",
    "type": "`object`",
    "description": "",
    "optional": false,
    "defaultValue": "",
    "expandable": false,
    "children": []
  }
]} />

## Type declaration

<ParameterTypes parameters={[
  {
    "name": "options",
    "type": "[OptionsQuery](../interfaces/types.DAL.OptionsQuery.mdx)&#60;T, any&#62;",
    "description": "",
    "optional": true,
    "defaultValue": "",
    "expandable": false,
    "children": [
      {
        "name": "fields",
        "type": "`string`[]",
        "description": "",
        "optional": true,
        "defaultValue": "",
        "expandable": false,
        "children": []
      },
      {
        "name": "filters",
        "type": "`boolean` \\| `string`[] \\| [Dictionary](../../types/types/types.Dictionary.mdx)&#60;boolean \\| [Dictionary](../../types/types/types.Dictionary.mdx)&#62;",
        "description": "",
        "optional": true,
        "defaultValue": "",
        "expandable": false,
        "children": []
      },
      {
        "name": "groupBy",
        "type": "`string` \\| `string`[]",
        "description": "",
        "optional": true,
        "defaultValue": "",
        "expandable": false,
        "children": []
      },
      {
        "name": "limit",
        "type": "`number`",
        "description": "",
        "optional": true,
        "defaultValue": "",
        "expandable": false,
        "children": []
      },
      {
        "name": "offset",
        "type": "`number`",
        "description": "",
        "optional": true,
        "defaultValue": "",
        "expandable": false,
        "children": []
      },
      {
        "name": "orderBy",
        "type": "[Order](../../types/types/types.Order.mdx)&#60;T&#62; \\| [Order](../../types/types/types.Order.mdx)&#60;T&#62;[]",
        "description": "",
        "optional": true,
        "defaultValue": "",
        "expandable": false,
        "children": []
      },
      {
        "name": "populate",
        "type": "`string`[]",
        "description": "",
        "optional": true,
        "defaultValue": "",
        "expandable": false,
        "children": []
      }
    ]
  },
  {
    "name": "where",
    "type": "[FilterQuery](types.DAL.FilterQuery.mdx)&#60;T&#62; & [BaseFilterable](../interfaces/types.DAL.BaseFilterable.mdx)&#60;[FilterQuery](types.DAL.FilterQuery.mdx)&#60;T&#62;&#62;",
    "description": "",
    "optional": false,
    "defaultValue": "",
    "expandable": false,
    "children": [
      {
        "name": "$and",
        "type": "(`T` \\| [BaseFilterable](../interfaces/types.DAL.BaseFilterable.mdx)&#60;T&#62;)[]",
        "description": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition.",
        "optional": true,
        "defaultValue": "",
        "expandable": false,
        "children": []
      },
      {
        "name": "$or",
        "type": "(`T` \\| [BaseFilterable](../interfaces/types.DAL.BaseFilterable.mdx)&#60;T&#62;)[]",
        "description": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition.",
        "optional": true,
        "defaultValue": "",
        "expandable": false,
        "children": []
      }
    ]
  }
]} />
