code: def _delete(collection_name, spec, opts, flags):
      
      encoded = _dict_to_bson(spec, False, opts)  # Uses extensions.
      return b"".join([
          _ZERO_32,
          _make_c_string(collection_name),
          _pack_int(flags),
          encoded]), len(encoded)
docs: Get an OP_DELETE message.