Hello, friend, welcome back.
In a previous video I have already discussed about that, things with you, how can get all the data
from the database and how can be the bullet in your side?
We know dashboard area, right.
So for getting this data, I before I have it, use that, I'll look into it.
And as I told a friend, I had another one as a query builder.
If you go to that authentication level official of site into the official said, if you go to the database,
into the database here, you can see there is also another option for the query builder.
So how can actually get this data on with this query builder in this video?
Also that thanks with a live example.
So friend, you can use both of these as Bario demand.
OK, so which things is like like some of the students actually like to use that you look into?
Are some of the students like to use that rebuilder since depends on you.
What of this is correct.
So I will try to explain both of these to to to you.
OK, then I hope it will help you a lot.
So before you can see with this using that, you look into why and we get all the total users data from
our user table and I get this data and take the things with this variable.
Right.
And here I pass the data.
So here I also want to do the same things.
But right now I want to use that query builder.
So if you want to use that query builder better, I want to turn to make it as a comment out with using
that control and the backslash.
So I make it as a comment out.
And now I want to get this data with another one as a query builder.
So this should be just like that.
First of all, I take one of the variable of the users so that you're part of the variable.
You actually take it, you have to pass it in particular compact area.
So I take it the same name as a users.
And now after that, if you use that query builder into the query builder here, you have to do you
have to use that DB, OK, that means the database see the database table.
So I mean the the table which from which they really want to get this data here, you have to add it.
So I want to do I want to get this data from our table.
If you go to our database, I want to get this data from this user's table.
Right.
So here you have to do you have to add your user table.
So I simply add our this user's table.
And from here I want to do and get this data.
So here I have to do have to add that get and get this data and it will be get all the data from all
these users table and it will be take this data into this variable as this one.
And after that, I want to get all the data and the data in our dashboard pace.
So with this compact, I pass it.
Everything will be just like that.
Same here.
That is the true format if you want to do that.
Same thing with using that a query builders.
That is our query builder code and that is our another one as you look at what I'm looking for.
And so when you use that query builder, there is also the DB.
So you have to do we have to use this DB so here before we use that our model.
So here we have already used that model.
So right now, if you use that as a DB, we have to use it.
If you go to that level side and if you want to use it, because that is actually the that that means
you have to use that in this one.
That is the reservoir, this one that is our eliminate the support assets and the DB.
I copy it and now and want to use it.
OK, so that is a both of this.
So if you want to use it here, you don't need to use this one.
That is a look.
And what I'm saying that you're looking at the if you use that word builder, you don't need to use
it.
You have to use this one as a.
OK, so right now I take both of this.
So that is our DB and then that's all that's all you have to do, friend.
Now, let's check this out.
The result will be just like the same.
If you click get to save all.
But here it will be get some of the error because of fall into the dashboard, into the dashboard here
you can see I added one of the this one that is our div for humans.
OK, shall we get some that or I show you like if you now click the refresh.
Now we see snowshoeing on the ATL as a call to the member function that referred humans on his team.
So this format is not supported for the query builder.
So if you want to use that at for humans, for the quarry builders here, you have to do you have to
update that part.
OK, so I show you here there is pretty much simple things you have to use that carbon because that
is also the carbon package.
So I don't want to make it as one of the fastest bracket.
OK, I block it with the first bracket and after that here I want to use that carbon, a carbon and
then the backslash and then the carbon, OK, carbon and then the bars.
So that is all you have to do.
OK, so when you use that carbon, carbon and the forest and then you can actually use it.
So now if you click to save all and now if you refresh it.
Yeah, you can see everything is just like Dersim.
So now it's perfectly getting this data from the database and this stuff is played on here.
So as I told a friend, when you use that as a career builder, so and use that CareerBuilder to do
the query builder, if you want to use as it is for humans dysfunction, then you have to add it in
all the other Carbon-Carbon first.
OK, and when you use that as a reluctant warrior, then here you don't need to do anything.
You can actually directly access out this one.
That means this function.
I hope friend is very much clear to you.
I share both of these.
So one of the things you choose, you can choose it for your project.
So, you know, next video I want to discuss about how you can create some of the model.
And also, how can kids on the migration file see step by step and everything will be very clear to
you.
So thanks for watching and I'll see you in the next video.