Recent Articles for #sql

#eloquent #sql

Clear orderBy in Laravel's Eloquent Builder

If you've tried to use orderBy on a previously ordered query in Laravel, you'll probably find it doesn't work. There's a great reason for that, which we'll explain at the end of the post.

Read full article []

Using Database Transactions to Write Safer Laravel Code

In web development, data integrity and accuracy is really important. So, making sure that we write code that stores, updates and deletes data in our databases in a safe way is imperative.

Read full article []