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.

语法TABLE.REPLACE name PREFIX prefix PK col COLUMN name i64|f64|str [COLUMN ...] [INDEX ...] [ORDERPATH ...] [WINDOW ...] [AUTODECLARE n]
分组table
参数个数-9
起始版本4.1.0
标志write, extension
复杂度the migration verb: spec changed, rebuild wanted
Redis 兼容性kevy-only: nearest is DROP TABLE + CREATE TABLE, atomic against a bad new spec

← 全部命令