laravel-code | SQL- QUERIES |
---|---|
One-to-One hasOne(UserWallet::class) $user->wallet() |
select * from user_wallets where user_wallets .user_id = ? and user_wallets .user_id is not null |
One-to-Many hasMany(Notification::class) $user->notifications() |
select * from notifications where notifications .user_id = ? and notifications .user_id is not null |
-
Notifications
You must be signed in to change notification settings - Fork 0
kodemakers/laravel-raw-sql
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published