A
A
AlexSer2018-01-30 19:29:20
Yii
AlexSer, 2018-01-30 19:29:20

Show an example of your sorting in Yii2?

Hello! Can someone show an example of their own sorting in the SORT class.
I need to filter by SQL query. Well, for example, let's say there is a model user extends ActiveRecord, tables users.
with fields (id, FIO, login, birthday).
And I need to sort all users who are 18 years old. I will be grateful!

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question