lib/command/list.js
function linsert(key, beforeAfter, pivot, value, req) {
  var val = this.getKey(key, req);
  if(val === undefined) return 0;
  return val.linsert(beforeAfter, pivot, value);
}
function linsert(key, beforeAfter, pivot, value, req) {
  var val = this.getKey(key, req);
  if(val === undefined) return 0;
  return val.linsert(beforeAfter, pivot, value);
}
function linsert ( key , beforeAfter , pivot , value , req ) { var val = this . getKey ( key , req ) ; if ( val === undefined ) return 0 ; return val . linsert ( beforeAfter , pivot , value ) ; }
Inserts value in the list stored at key either before
or after the reference value pivot.
Inserts value in the list stored at key either before or after the reference value pivot .