kevy

TABLE.REPLACE

Drop and redeclare in one verb, rebuilding every compiled index from the rows. Named for its cost: a full backfill, asked for explicitly. A bad spec refuses BEFORE the old table drops.

SyntaxTABLE.REPLACE name PREFIX prefix PK col COLUMN name i64|f64|str [COLUMN ...] [INDEX ...] [ORDERPATH ...] [WINDOW ...] [AUTODECLARE n]
Grouptable
Arity-9
Since4.1.0
Flagswrite, extension
Complexitythe migration verb: spec changed, rebuild wanted
Redis compatibilitykevy-only: nearest is DROP TABLE + CREATE TABLE, atomic against a bad new spec

← All commands