QueryDatasetScope
class QueryDatasetScope @InternalWowApi constructor(val tenant: QueryField<*>? = null, val owner: QueryField<*>? = null, val space: QueryField<*>? = null, val platform: Boolean = false, val access: QueryDatasetAccess? = null)
Which columns of a dataset hold its caller scope: the tenant (or, for a platform-level dataset, none), the owner and the space; and, when its rows are an aggregate's, the access of that aggregate. A dataset either names its tenant column or declares that it is platform-level, never both.
Constructors
Link copied to clipboard
constructor(tenant: QueryField<*>? = null, owner: QueryField<*>? = null, space: QueryField<*>? = null, platform: Boolean = false, access: QueryDatasetAccess? = null)
Properties
Link copied to clipboard
The aggregate whose access policy decides the rows a caller reads; null for none.
Link copied to clipboard
Every column this scope names.
Link copied to clipboard
The one tenant every record of a platform dataset belongs to; null for a dataset with a tenant column.
Link copied to clipboard
Link copied to clipboard
The dataset has no tenant column: every record belongs to PLATFORM_TENANT.
Link copied to clipboard
Link copied to clipboard