Using Entity with model, return empty Object |
If no records are found, you will get null.
Replace where statement with ID to test, e.g. PHP Code: $user = $userModel->where('user_id', 1)->first(); Otherwise nothing obvious which I can help with. |
Messages In This Thread |
Using Entity with model, return empty Object - by harpreetsb - 04-13-2020, 06:50 AM
RE: Using Entity with model, return empty Object - by cyberstunts - 04-13-2020, 08:50 PM
|