-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: Models, useSoftDeletes not found in findAll #2658
Comments
@danielMonroy96 Can you post some code. Because i checked tests and they worked as expected. |
Thanks for your help, in the first consultation it does not give me the expected results |
|
I'll try updating CI, because the problem persists |
Apparently yes, I have already compared my code with colleagues and it
works fine! Maybe it's my environment, thanks for your help and response
Good day!!
El vie., 6 mar. 2020 a las 17:47, Arif RH (<notifications@github.com>)
escribió:
… @danielMonroy96 <https://github.com/danielMonroy96> If I see your code,
It seems the issue is not from the Model but in your logic code
[image: logic flow]
<https://user-images.githubusercontent.com/2386359/76130981-42e91880-603f-11ea-9b79-6a8faeee0a8b.png>
I have tried to reproduce the issue but everything seem right. So can you
confirm again, is your logic code is right?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2658?email_source=notifications&email_token=AK37UMSRHTMTINQYEQHSMBDRGGDQHA5CNFSM4K733RQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEODGTDQ#issuecomment-596011406>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AK37UMRC77LSZ6JECX72MATRGGDQHANCNFSM4K733RQQ>
.
|
@danielMonroy96 is this issue resolved? If so feel free to close it. |
Hi everyone, i have same problem. i read the answer from Instrye, and all works fine. |
This seems like resolved. |
Para resolver este problema, yo lo hice de esta manera: `
` |
findAll() will not working when:
Run this query to change
|
Bug
When obtaining records using findAll () and using useSoftDeletes in true, the method returns all records when it can return while $ this-> deletedField is null
CodeIgniter 4 version
4.0.2
Affected module(s)
Codeigniter\Model
The text was updated successfully, but these errors were encountered: