Lesson 16 Laravel for Beginners: Soft Delete & Restore in Urdu/Hindi

  Рет қаралды 1,400

AssadUllahCh

AssadUllahCh

Күн бұрын

Пікірлер: 31
@assadullahch1960
@assadullahch1960 4 жыл бұрын
Assalam O Alaikum Whether you like or dislike this video, please don't forget to leave your feedback in comment section. Thank you.
@m.ahmad4551
@m.ahmad4551 4 жыл бұрын
AssadUllahCh assad bhai plz data structure p videos bna dein trees pr cpp m thanks💛
@hashirmasood5993
@hashirmasood5993 4 жыл бұрын
salam ... assad bhai middlewares py video bna k us k concepts clear krwa dein kindly ... login authentication main bht confusion hti h...!!!
@ghalejaat2889
@ghalejaat2889 4 жыл бұрын
Awesom information.
@jashanpreet832
@jashanpreet832 4 жыл бұрын
I like it
@iammtw
@iammtw 4 жыл бұрын
Love your Videos asad bhai. Please Upload Video on Middleware
@assadullahch1960
@assadullahch1960 4 жыл бұрын
will do it.
@mohammedkojar2555
@mohammedkojar2555 4 жыл бұрын
Sir yeh series ke end mai please if u get a time make a small blog application project with auth and crud :)
@syedwajahathussain9730
@syedwajahathussain9730 4 жыл бұрын
Sir, bht arsay bad video upload kr rahe hen ap
@assadullahch1960
@assadullahch1960 4 жыл бұрын
Time is the issue. Thora sa time nikla aur video upload kar di.
@katmovie6976
@katmovie6976 4 жыл бұрын
acha assad bhai ye count() function Kya karta ha?
@assadullahch1960
@assadullahch1960 4 жыл бұрын
It gives you the count of total elements in an array.
@aliafzal1532
@aliafzal1532 4 жыл бұрын
assad bhai koi nosql database he jo easily laravel k andar embed ho jae
@assadullahch1960
@assadullahch1960 4 жыл бұрын
Laravel by default kisi b noSQL database ko support nahi karta. Ap ko third party packages ko use karna paray ga agar ap Laravel k sath koi nosql database use karna chahtay ho. Agar ap MongoDB use karna chahtay ho to us k liye aik package hay "moloquent" jo k Laravel eloquent say bohot zeyada milta hay. Ap isko use kar saktay ho.
@aliafzal1532
@aliafzal1532 4 жыл бұрын
thank you assad lakin mujay lightweight nosql use krna he jo easily laravel k andar embed ho jae
@assadullahch1960
@assadullahch1960 4 жыл бұрын
@@aliafzal1532 Do some research on your use case and choose an appropriate database. Mongodb is a good candidate. If you think your project is huge then it's not going to work for you.
@neerajsinghtangariya2587
@neerajsinghtangariya2587 4 жыл бұрын
can you please tell me what wrong with this code I am using softdelete nothing is deleted only page refreshed? public function destroy(CMSCategory $cMSCategory) { $cMSCategory->delete(); return redirect()->route('category.index'); }
@assadullahch1960
@assadullahch1960 4 жыл бұрын
Make sure you have done the following to make the soft delete work: 1 - Create a field with the name "deleted_at" in your database table where you want to configure softdelete. 2 - Use Illuminate\Database\Eloquent\SoftDeletes in your model to enable soft deletion. Now if you do something like this YourModelName::find( $id )->delete(); It should populate "deleted_at" with a timestamp and that is what we called soft delete. REMEMBER: AFTER SOFT DELETE, THE RECORD STAYS IN THE DATABASE TABLE ONLY "deleted_at" PROPERTY GETS POPULATED WITH TIMESTAMP. TRY TO BROWSER DOCUMENTATION WHILE IMPLEMENTING THIS: laravel.com/docs/5.8/eloquent#soft-deleting
@rajabhishek4973
@rajabhishek4973 4 жыл бұрын
Awosem sir please make multi auth
@masaudnoor3280
@masaudnoor3280 4 жыл бұрын
Thanks you sir for this helpful sir | sir if you will make project on laravel it will be a great gift for us
@assadullahch1960
@assadullahch1960 4 жыл бұрын
project is not possible right now.
@assadullahch1960
@assadullahch1960 4 жыл бұрын
will do it.
@masaudnoor3280
@masaudnoor3280 4 жыл бұрын
I sure whenever you will make project it will gamechanger for our programming life.
@MuhammadAdnan-gx6rd
@MuhammadAdnan-gx6rd 4 жыл бұрын
Force delete ?
@assadullahch1960
@assadullahch1960 4 жыл бұрын
You can use forceDelete() method to permanently delete a soft deletable model.
@MuhammadAdnan-gx6rd
@MuhammadAdnan-gx6rd 4 жыл бұрын
@@assadullahch1960 okay. .. are there new videos on Laravel coming ?
@assadullahch1960
@assadullahch1960 4 жыл бұрын
@@MuhammadAdnan-gx6rd basics building blocks are covered in this playlist and now you should try to browse documentation to do the stuff on your own.
@MuhammadAdnan-gx6rd
@MuhammadAdnan-gx6rd 4 жыл бұрын
@@assadullahch1960 alright now gonna cover multi Auth. ..
@saurabhsahu1432
@saurabhsahu1432 4 жыл бұрын
I learn new feature Soft-Delete by your video, But this video is very long and time consuming, also u was not fully prepare for this.
@assadullahch1960
@assadullahch1960 4 жыл бұрын
Seems like you started watching the video from the start until the end and I also forgot to specify that the video actually starts at 31:18 related to Soft Delete. The soft delete topic actually starts at 31:18 and it took 20 minutes to cover which is not that long. I had to cover more than one related topics in this video because the people from Pakistan and India are lazy enough and they try to keep convincing me for spoon feeding which is not going to be happening here. I had to cover some related topics to help out those students. What makes you think I was not fully prepared for this?
@hiphopKrantikari
@hiphopKrantikari 4 жыл бұрын
This is the best way to learn by official docs and without patience we can't achieve anything in programming
amazing#devil #lilith #funny #shorts
00:15
Devil Lilith
Рет қаралды 18 МЛН
😜 #aminkavitaminka #aminokka #аминкавитаминка
00:14
Аминка Витаминка
Рет қаралды 3 МЛН
Players vs Pitch 🤯
00:26
LE FOOT EN VIDÉO
Рет қаралды 121 МЛН
Backend web development - a complete overview
12:58
SuperSimpleDev
Рет қаралды 1,8 МЛН
Learn Next.js 15 in 1 hour - Beginner Tutorial
59:25
Codevolution
Рет қаралды 26 М.
Microservices with Databases can be challenging...
20:52
Software Developer Diaries
Рет қаралды 85 М.
amazing#devil #lilith #funny #shorts
00:15
Devil Lilith
Рет қаралды 18 МЛН