Skip to content

Commit

Permalink
docs: Note on accessing data model metadata in query_rewrite
Browse files Browse the repository at this point in the history
  • Loading branch information
igorlukanin committed Aug 30, 2024
1 parent b9a4d83 commit 2a0fc0d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/pages/reference/configuration/config.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -813,6 +813,14 @@ module.exports = {

</CodeTabs>

<ReferenceBox>

Currently, there's no built-in way to access the data model metadata in
`query_rewrite`. Please [track this issue](https://github.com/cube-js/cube/issues/4118)
and read about a [workaround](https://github.com/cube-js/cube/issues/4118#issuecomment-2317925444).

</ReferenceBox>

### `allow_ungrouped_without_primary_key`

Setting `allow_ungrouped_without_primary_key` to `True` disables the primary
Expand Down

0 comments on commit 2a0fc0d

Please sign in to comment.