#mysql
Read more stories on Hashnode
Articles with this tag
Raw Query Output With Bindings is Coming to Laravel 10 User::where(...)->ddRawSql(); // Using the new `toRawSql()` method User::where('email',...
Designing a database structure for managing subscribers for email newsletters and automation involves considering various aspects like subscriber...
Discover an array of efficient methods for managing related data in Laravel using Eloquent relationships. From simple create and update operations to...
1 – Invisible Database Columns The invisible column is a new concept in MySQL 8. What it does: when you run a select * query it won't retrieve any...
UPDATE pages SET icon_image = REPLACE(icon_image, 'https://example.com', 'https://tools.example.com') WHERE icon_image LIKE...
create backup sudo mysqldump -u root -p dbname > backup.sql I believe the format is: mysql -u username -p database_name < /path/to/file.sql From...