code: def _query_compressed(options, collection_name, num_to_skip,
                        num_to_return, query, field_selector,
                        opts, check_keys=False, ctx=None):
      
      op_query, max_bson_size = _query(
          options,
          collection_name,
          num_to_skip,
          num_to_return,
          query,
          field_selector,
          opts,
          check_keys)
      rid, msg = _compress(2004, op_query, ctx)
      return rid, msg, max_bson_size
docs: Internal compressed query message helper.