PgBeam Docs
projectscache-rules

cache-rules set

Enable or disable caching for a query shape.

Enable or disable caching for a specific query shape identified by its hash.

Usage

pgbeam cache-rules set <hash> --database-id <id> [--cached | --no-cached]

Flags

FlagDescription
--database-idDatabase the query shape belongs to (required)
--cachedEnable caching for this query shape
--no-cachedDisable caching for this query shape

Examples

# Enable caching for a query shape
pgbeam cache-rules set a1b2c3d4 --database-id db_abc123 --cached

# Disable caching for a query shape
pgbeam cache-rules set e5f6g7h8 --database-id db_abc123 --no-cached

On this page