diff --git a/extra/redis/command-writer/command-writer.factor b/extra/redis/command-writer/command-writer.factor index f407a12506..1e9c643ccd 100644 --- a/extra/redis/command-writer/command-writer.factor +++ b/extra/redis/command-writer/command-writer.factor @@ -106,6 +106,7 @@ PRIVATE> ! Multiple db : select ( integer -- ) 1array "SELECT" write-command ; : move ( integer key -- ) 2array "MOVE" write-command ; +: swapdb ( old new -- ) 2array "SWAPDB" write-command ; : flushdb ( -- ) { "FLUSHDB" } write-resp ; : flushall ( -- ) { "FLUSHALL" } write-resp ;