# ApexDatabaseQueryOptions (/docs/core/reference/api/interfaces/ApexDatabaseQueryOptions)



[@kysoql/core](/docs/core/reference/api) / ApexDatabaseQueryOptions

Compile-time marker for Salesforce `Database.QueryOptions`.

Kysoql never constructs this Apex value. Use it only as the value type for
an `apexBind()` that names the `Database.QueryOptions` variable available to
the generated dynamic SOQL.

## Properties [#properties]

| Property                                                                              | Modifier   | Type   | Description                                                                                                 |
| ------------------------------------------------------------------------------------- | ---------- | ------ | ----------------------------------------------------------------------------------------------------------- |
| <a id="api-property-apexdatabasequeryoptionstype" /> `[apexDatabaseQueryOptionsType]` | `readonly` | `true` | Type-only brand used by Kysoql to preserve compile-time information; it has no user-facing runtime meaning. |
