Answer the question
In order to leave comments, you need to log in
How to start displaying from the table starting from 3 by id from the end?
I know there is one($id) method. But if you don't know the id, but you just need to display starting from 3 in the id count from the end?
Answer the question
In order to leave comments, you need to log in
MyModel::find()->orderBy('id DESC')->limit(3)->all();
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question