#Soft Deletes

4 messages · Page 1 of 1 (latest)

weary barn
#

I have to table, one is users table and other is Invoice table(has user_id), i have performed soft delete on users table for a user, its record is updated, my problem here is when i try to do
Invoice::with([user])->get()
i get invoice with empty user data, but i do not invoice data for soft deleted user, have anyone come across such?

vague dawn
weary barn
#

thank you sir