cube
no_queries_available
cube in the schema when there is nothing to query. It
returns a String! with the reason, also given as the field description in
introspection:
- The data model has no cubes or views.
- No cubes or views have members visible to the caller, e.g., because of access policies.
Response extensions
In addition to thedata field, the GraphQL response includes an extensions
object with query metadata:
annotation— metadata for the query members (titles, types), the same as theannotationfield of the REST API response.lastRefreshTime— an ISO 8601 timestamp indicating when the data was last refreshed.usedPreAggregations— the pre-aggregations the result was served from, the same as theusedPreAggregationsfield of the REST API response. Absent when the query hit no pre-aggregation.
CubeQueryArgs
where(RootWhereInput): Represents a SQLWHEREclause.limit(Int): A row limit for your query.offset(Int): The number of initial rows to be skipped for your query. The default value is0.timezone(String): The time zone for your query. You can set the desired time zone in the TZ Database Name format, e.g.,America/Los_Angeles.ungrouped(Boolean): If set totrue, Cube will run an ungrouped query.
RootWhereInput
CubeArgs
CubeWhereInput
CubeOrderByInput
Filter
DateTimeFilter | FloatFilter |
StringFilter
DateTimeFilter
FloatFilter
StringFilter
OrderBy
asc | desc