code: func NewHasParentQuery(parentType string, query Query) *HasParentQuery {
  	return &HasParentQuery{
  		query:      query,
  		parentType: parentType,
  	}
  }
docs: // NewHasParentQuery creates and initializes a new has_parent query.