nrk/predis — Issue #53: feature: add an option to skip execute the pipe
Author: xrfang
Created: 2011-12-01 14:18:12+00:00
State: open

the flushPipeline() function executes the pipe then clears it, I think an optional boolean parameter $execute is useful (default to true). While this parameter is set to false, flushPipeline simply clears the pipe without actually sending it to redis. This is useful while reusing a pipeline after execute(). (Call this method with $execute set to false to clear the pipe in case the previous pipeline execution is not clear).