code: func NewPQLBaseQuery(pql string, index *Index, err error) *PQLBaseQuery {
  	return &PQLBaseQuery{
  		index:   index,
  		pql:     pql,
  		err:     err,
  		hasKeys: index.options.keys,
  	}
  }
docs: // NewPQLBaseQuery creates a new PQLQuery with the given PQL and index.