How To Use JSON Data Field In MySQL Database

In this article, we will see how to use json field in mysql database. JSON (JavaScript Object Notation) is a lightweight data-interchange format. It is easy for humans to read and write.

So, let's see MySQL JSON...

Laravel PHP MySQL

Laravel 8 Multiple Database Connections

In this article, we will see laravel 8 multiple database connections. Today I will give you the step-by-step implementation of how to use laravel 8 multiple database connections. Many times we have requirements in our project to use mult...

Laravel MySQL

Laravel orderBy, groupBy and limit Example

In this artical we will see laravel orderBy, groupBy, and limit example, in this laravel orderBy, groupBy and limit example we will see different types of laravel 8 query example.

The orderBy method allows you to...

Laravel MySQL

Laravel whereMonth and whereYear Example

In this tutorial, we will see laravel whereMonth and whereYear example. whereMonth and whereYear are used to get month and year data from specific date field columns. So, here we will use whereMonth() and whereYear() in laravel...

Laravel MySQL

Laravel whereDate and whereDay Example

In this tutorial, we will see laravel whereDate and whereDay example. As you all know laravel provides many inbuilt functionalities like query builder, eloquent, etc. So, here we will give you examples of whereDay and WhereDate using the date...

Laravel MySQL

Laravel whereHas and orWhereHas Query Example

In this tutorial, we will see laravel whereHas and orWhereHas query example. whereHas and orWhereHas query used in laravel for relationships. So, here I will give you an example of how to use wherehas in laravel, wherehas eloquent in lar...

Laravel MySQL

Laravel where and orWhere Condition Example

In this artical we will see how to use where and orwhere condition in laravel 8. For where() and orWhere() method the first argument is the name of the column. The second argument is an operator, which c...

Laravel PHP MySQL