code: func (s *lockBasedTxSimulator) ExecuteQueryWithMetadata(namespace, query string, metadata map[string]interface{}) (ledger.QueryResultsIterator, error) {
  	if err := s.checkBeforePaginatedQueries(); err != nil {
  		return nil, err
  	}
  	return s.lockBasedQueryExecutor.ExecuteQueryWithMetadata(namespace, query, metadata)
  }
docs: // ExecuteQueryWithMetadata implements method in interface `ledger.QueryExecutor`