Member Since 3 Weeks Ago
4,940 experience to go until the next level!
In case you were wondering, you earn Laracasts experience when you:
Earned once you have completed your first Laracasts lesson.
Earned once you have earned your first 1000 experience points.
Earned when you have been with Laracasts for 1 year.
Earned when you have been with Laracasts for 2 years.
Earned when you have been with Laracasts for 3 years.
Earned when you have been with Laracasts for 4 years.
Earned when you have been with Laracasts for 5 years.
Earned when at least one Laracasts series has been fully completed.
Earned after your first post on the Laracasts forum.
Earned once 100 Laracasts lessons have been completed.
Earned once you receive your first "Best Reply" award on the Laracasts forum.
Earned if you are a paying Laracasts subscriber.
Earned if you have a lifetime subscription to Laracasts.
Earned if you share a link to Laracasts on social media. Please email [email protected] with your username and post URL to be awarded this badge.
Earned once you have achieved 500 forum replies.
Earned once your experience points passes 100,000.
Earned once your experience points hits 10,000.
Earned once 1000 Laracasts lessons have been completed.
Earned once your "Best Reply" award count is 100 or more.
Earned once your experience points passes 1 million.
Earned once your experience points ranks in the top 50 of all Laracasts users.
The trigger is the simple after insert trigger and it is tested by me. It's works as well.
mt_esemenyek::insert(['EsemenyNev' => $request->EsemenyNev, 'EgyeniEsemeny' => 1, 'EventDateStart' => $request->fromdate, 'EventDateEnd' => $request->todate, 'LetrehozasDatum' => date("Y-m-d h:i:s"), 'LetrehozoUser' => Auth::user()->username, 'Napszak' => $request->tipus, 'DolgozoID' => $request->DolgozoNev, 'Inaktiv' => 0]);
Started a new Conversation Making Insert Upate Etc. From Controller If You Use Trigger On Table (MSSQL)
I use Laravel 6.6 with php 7.3 and mssql database engine.
I have a table what I try to modify or insert a new record from my controller with eloquent and It doesn't work but there aren't any errors. (There is a trigger on my table)
I made this trigger from sql side.
When I delete the trigger the queries works as well from laravel. But the trigger is good because when i run the same queries from sql side what I use in the controller. It works well with trigger.
I don't know what is the problem. Maybe the laravel can't handle the trigger or the odbc driver is bad from microsoft (I tried to reinstall it) or something else? (I declared fillable columns etc. on my model)
The queries doesn't work on the other table what contains trigger.