Sto usando Laravel Framework.Laravel ORM, data compare
Voglio tutte le righe per questo giorno. Questo è quello che ho provato:
DB::table('users')->where('created_at', '>=', date('Y-m-d H:i:s'))
(campo created_at
rappresentato in database in formato: Y-m-d H:i:s
).
Possibile duplicato della [mia domanda] (http://stackoverflow.com/questions/14790027/using-eloquent-how-do-i-filter-my-model-query- to-include-only-items-that-were-c), dove Eloquent è usato, così come Fluent. –