Answer the question
In order to leave comments, you need to log in
Why in Laravel 5.5 Eloquent model can not get all the records from the table?
Good afternoon, there is such a problem: There are several records in the users
table :
1 user1 [email protected]
2 user2 [email protected]
3 user3 [email protected]
4 user4 [email protected]
5 user5 [email protected]
6 user6 [email protected]
7 user7 [email protected]
But when I try:
Only 3 records are pulled out:
2 user2 [email protected]
3 user3 [email protected]
7 user7 [email protected] I
don't catch the regularity. Maybe someone will tell? $users = User::get();
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question