weavori cache

Manage cached schema metadata for faster repeat runs.

Last updated October 20, 2018

Usage

$weavori cache [command]

Subcommands

CommandDescription
clearClear all cached schema metadata

Overview

Weavori caches introspected schema metadata to speed up repeat runs against the same database. Each source database keeps its own cache.

The schema is re-introspected automatically when it changes. Use --no-cache on weavori generate to force a fresh introspection on a single run.

Cache location

PlatformCache directory
Linux / macOS~/.weavori/cache/
Windows%USERPROFILE%\.weavori\cache\

Examples

Clear all cached schemas

$ weavori cache clear
Cleared 3 cached schema(s).

Bypass cache for a single generation

$weavori generate postgres://user:pass@localhost:5432/mydb \ --target postgres://user:pass@localhost:5432/clone \ --no-cache