ehmhuge
(Maryjoy Tapar)
1
Hi guys, I always having this kind of error:
CDbDataReader and its behaviors do not have a method or closure named "queryAll".
throw new CException(Yii::t(‘yii’,’{class} and its behaviors do not have a method or closure named “{name}”.’,
I don’t know where did I went wrong?
What is the possible issue here? Thanks.
reza.m
(Reza Mms)
2
CDbDataReader doesn’t have queryAll method you should use readAll
queryAll is a method of CDbCommand
for complete details read this documentation