Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors