The query layer.