ability to inject query builder into provider