I
I
Ilya Beloborodov2017-08-19 09:35:39
Yii
Ilya Beloborodov, 2017-08-19 09:35:39

Yii2, deleteAll() where time is less?

How to delete all records where created_at < 1503124062 using the deleteAll() method

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Bay, 2017-08-19
@kowap

deleteAll('created_at< 1503124062')

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question