Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

255 B
Raw Blame
import type Question from "metabase-lib/v1/Question";

export function hasQuestionCacheSection(question: Question) {
  const type = question.type();

  return (
    type !== "model" &&
    (question.canWrite() || question.lastQueryStart() != null)
  );
}