allow lazy promise usage of query