code: function EqualityFilter(options) {
    assert.optionalObject(options);
    if (options) {
      assert.string(options.attribute, 'options.attribute');
      this.attribute = options.attribute;
      // Prefer Buffers over strings to make filter cloning easier
      if (options.raw) {
        this.raw = options.raw;
      } else {
        this.raw = new Buffer(options.value);
      }
    } else {
      this.raw = new Buffer(0);
    }
  }
docs: /--- API