User Guide Getting Started Help Center Documentation Community Training
New LookML
Old LookML
New LookML
Looker
  
English
日本語
persist_with

This page refers to the persist_with parameter that is part of an Explore.

persist_with can also be used as part of a model, described on this documentation page.

Usage

explore: explore_name {
  persist_with: airports_datagroup
}

Hierarchy

persist_with

Default Value

None

Accepts

The name of a datagroup.

Definition

Use persist_with under the explore parameter to specify a datagroup caching policy to use for that specific Explore.

If instead you want to specify a default datagroup for all Explores in a model, you can use the persist_with parameter at the model level.

If you include a persist_with parameter under the explore parameter and also at the model level, the Explore will use the datagroup caching policy specified under the explore parameter.

See this page about caching for an overview of datagroups.

Example

Use the orders_datagroup caching policy for an Explore:

explore: customer_facts { persist_with: orders_datagroup … }

Top