Turn Your Vehicle Into a Smart Earning Asset

While you’re not driving your car or bike, it can still be working for you. MOTOSHARE helps you earn passive income by connecting your vehicle with trusted renters in your city.

πŸš— You set the rental price
πŸ” Secure bookings with verified renters
πŸ“ Track your vehicle with GPS integration
πŸ’° Start earning within 48 hours

Join as a Partner Today

It’s simple, safe, and rewarding. Your vehicle. Your rules. Your earnings.

How to Update and Delete Data From Database table using Tinker.

How to Update Data in the Database table.

We use the update command to update the data in the database table.

Syntax

Suppose, I want to update my row whose ID no. is 20. I’m added my id and id no. in where condition and the data which I want to update is written under Update method. After hitting enter, if it returns 1 then it’s true, means data updated in the database. See below:-

The above command shows that I updated the E-mail and Name of the row whose id is 20.

Note:- If we can’t write where condition, then it will update the given data to all the E-mail and Names.

How to Delete Data From Database table.

We use the Delete command to Delete the data from the database table.

Syntax

Suppose, I want to Delete my row whose ID no. is 20. I’m added my id and id no. in where condition calls Delete method. After hitting enter, if it returns 1 then it’s true, means data Deleted from the database. See below:-

The above command shows that I deleted the row whose id is 20.

Note:- If we can’t write where condition, then it will Delete all the data from the table.

Certification Courses

DevOpsSchool has introduced a series of professional certification courses designed to enhance your skills and expertise in cutting-edge technologies and methodologies. Whether you are aiming to excel in development, security, or operations, these certifications provide a comprehensive learning experience. Explore the following programs:

DevOps Certification, SRE Certification, and DevSecOps Certification by DevOpsSchool

Explore our DevOps Certification, SRE Certification, and DevSecOps Certification programs at DevOpsSchool. Gain the expertise needed to excel in your career with hands-on training and globally recognized certifications.