Adding advanced model parameters
In the model file created in your LookML project, there are some standard parameters added, such as the following:
connection
: This parameter defines the database/data warehouse connection to be used for this model.include
: This defines what view files can be used in this model to build the Explores. In our case, we include all the views.datagroup
: This assigns a caching policy for Explores. Datagroup can also be used to regenerate PDTs.persist_with
: To use thedatagroup
caching policy as the default for Explores in a model, you can use thepersist_with
parameter at the model level, and specify thedatagroup
name.
In this section, we’ll review some advanced Model parameters and what they are used for.
How to do it…
Let’s add a few advanced Model parameters to our model:
label
: Thelabel
parameter changes the way that this model will appear in the Explore menu. Unless specified, the label...