-
Notifications
You must be signed in to change notification settings - Fork 8
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
SQL table: ->find(['TEST_ID' => 1]) lists all rows but only with the data from first row ? #18
Comments
I have found where the bug is causing the issue,
I replaced it with:
and it seems to me that the request to EDIT:
and now it shows all rows data correct, but it still shows all rows, so probably the function regards Zilveer |
Hello @zilveer, thanks for you feedback! |
@nekufa Perfect, i Will test it again. Regards |
Perfect it works good now! |
Hi,
I am using SQL tables with mapper but I have issues with fetching correct data when using SQL tables.
I am using the lastest versions of php-client and php-mapper, the dev repo.
This is how you can re-produce the issue:
With using php-mapper I am doing this:
$testing = $mapper->getRepository('USERS')->find(['TEST_ID' => 1]);
the result is:
Which means that is actually just returns all rows but with the content of the first row in the table when it should return:
If you have any questions regarding this please let me know.
If you can fix this bug I would be very happy.
regards Zilveer
The text was updated successfully, but these errors were encountered: