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



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

Additional schema metadata and mode supplied while compiling a query.

## Properties [#properties]

| Property                                           | Modifier   | Type                                                     | Description                                                                  |
| -------------------------------------------------- | ---------- | -------------------------------------------------------- | ---------------------------------------------------------------------------- |
| <a id="api-property-apex" /> `apex?`               | `readonly` | `boolean`                                                | Whether the query is being compiled for Apex syntax.                         |
| <a id="api-property-dynamicapex" /> `dynamicApex?` | `readonly` | `boolean`                                                | Whether Apex bind values must be emitted for dynamic `Database.query*` APIs. |
| <a id="api-property-queryid" /> `queryId?`         | `readonly` | [`QueryId`](/docs/core/reference/api/interfaces/QueryId) | **`Internal`** Correlates plugin query and result transforms.                |
