queryprovider uses querybuilder and query instance from yii