python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Total Count with eloquent
I have a two table users and orders . i want to get users with Total Orders Count. How can I do this with eloquent?
Here is my query
User::with('orders')->where('status','active')->get();
Nasir Awan
Votes: 0
Answers: 1
Vue js not rendering VdtnetTable. What might be the issue
[Vue warn]: Error in render: "TypeError: Object(...) is not a function"
found in
---> <VdtnetTable>
<App> at resources/js/kodie/properties/Table.vue
<Prop...
Dickilla
Votes: 0
Answers: 1
laravel 7 role base authentication sharing session cookies user can accsess admin panel without any restriction how to solve this problem
I'm using laravel 7 i was created roll base authentication using laravel UI, when i tried cross check logged with user in chrome browser, in edge browser i was logged with as admin, after i shared coo...
user12380208
Votes: 0
Answers: 1
Laravel "Find" method "Where id = ?" gives wrong result
I'm using Laravel 7. I have table named "Stores" and column "id" is the primary key and auto increment.
When I run Store::find(9)->first() it gives wrong result and when I run S...
user2609021
Votes: 0
Answers: 1