docs: function remove() {
    var select      = null;
    var cardinality = null;
  
    var argLen = arguments.length;
    for (var i=0; i < argLen; i++) {
      var arg = arguments[i];
      if (i === 0) {
        select = arg;
        continue;
      }
      if (cardinality === null && /^[?.*+]$/.test(arg)) {
        cardinality = arg;
        continue;
      }
      break;
    }
  
    if (select === null) {
      throw new Error('remove takes select and optional cardinality');
    }
  
    var operation = {
      select: select
    };
    if (cardinality !== null) {
      operation.cardinality = cardinality;
    }
  
    return {'delete': operation};
  }