i have some little complex sql query ,i want run in laravel ,i do like that \DB::connection('models'...
I buid api with laravel and control the http header like : $header = array( 'Expires'...
I notice that laravel use 0000-00-00 00:00:00 for deleted_at time ,So i change data deleted_at like...
i copy the sql run on the mysql workbench was ok,but in laravel has error: SQLSTATE[42000]: Syntax e...
you can try rewrite you model fromDateTime method public function fromDateTime($value) { //you...
ranisalt said: Don't you just want to 'restore()' your record? that's work ,thanks a lot
Kpoew said: try this http://laravel.com/docs/eloquent#timestamps thanks for your replay ,the d...
The Laravel portal for problem solving, knowledge sharing and community building.
The community