func (q *PQLBatchQuery) Add(query PQLQuery) {
	err := query.Error()
	if err != nil {
		q.err = err
	}
	serializedQuery := query.Serialize()
	q.hasKeys = q.hasKeys || serializedQuery.HasWriteKeys()
	q.queries = append(q.queries, serializedQuery.String())
}
func (q *PQLBatchQuery) Add(query PQLQuery) {
	err := query.Error()
	if err != nil {
		q.err = err
	}
	serializedQuery := query.Serialize()
	q.hasKeys = q.hasKeys || serializedQuery.HasWriteKeys()
	q.queries = append(q.queries, serializedQuery.String())
}
func ( q * PQLBatchQuery ) Add ( query PQLQuery ) { err := query . Error ( ) if err != nil { q . err = err } serializedQuery := query . Serialize ( ) q . hasKeys = q . hasKeys || serializedQuery . HasWriteKeys ( ) q . queries = append ( q . queries , serializedQuery . String ( ) ) }
// Add adds a query to the batch.
Add adds a query to the batch .