Back

Compare Updated_at and Created_at


Vardges posted 5 months ago

How can i compare created_at and updated_at @exmpl. Product::where('active', 1)->where('created_at', 'updated_at')->update([ "foor" => "bar", ]);

I want that those two columns value will be the same(equal).


Sign in to participate in this thread!



We'd like to thank these amazing companies for supporting us