您目前查看的是 Looker 26.0 的說明文件。按一下這個連結,即可查看
最新說明文件。
persist_with (適用於模型)
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
本頁面是指 模型的一部分 persist_with 參數。
persist_with 也可做為「探索」的一部分,詳情請參閱 persist_with 參數說明文件頁面。
用量
persist_with: airports_datagroup
|
階層
persist_with
|
預設值
無
接受
資料群組的名稱。
|
定義
在模型層級使用 persist_with,指定模型中所有探索要使用的預設 datagroup 快取政策。如要瞭解資料群組,請參閱「使用資料群組快取查詢並重建永久累加型衍生資料表」說明文件頁面。
如要為一或多個探索指定資料群組,或覆寫一或多個探索的預設資料群組,可以使用 explore 的 persist_with 參數,為這些探索指定不同的資料群組。
範例
為模型中的所有探索使用 orders_datagroup 快取政策:
persist_with: orders_datagroup
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2026-02-05 (世界標準時間)。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["難以理解","hardToUnderstand","thumb-down"],["資訊或程式碼範例有誤","incorrectInformationOrSampleCode","thumb-down"],["缺少我需要的資訊/範例","missingTheInformationSamplesINeed","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2026-02-05 (世界標準時間)。"],[],[]]