-
-
Notifications
You must be signed in to change notification settings - Fork 208
Updating data returns an empty Exception when there is no results returned #87
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
Comments
Looks like an issue with |
The library now throws 404 error with message of |
It is so strange to throws 404 error with message of not found!! |
It is so strange to throws 404 error with message of not found!! For example, when I have the major table for the basic data (e.g. customers.customerId and customers.name) and then I have the relative table (orders) for the detail data (e.g. orders.numer, orders.customerId (foreign key relate to customer.customerId) ...) ...etc. It is not necessary that I have to check table (orders) every time when I found I mis-typed the customers.customerId data and try to update customers table and orders table (maybe there were many records in orders table with the mis-typed the customers.customerId, or there is none in orders table using the wrong customers.customerId. I just want to update the customer table with the correct customers.customerId and update the orders table at the same time, even if the wrong customers.customerId data has not been created in the orders table. ) Because you don’t know if the order table has Relevant data, using a relational database, you must update the associated tables and data. It is not necessary to use the query command to check whether the data has been saved before modifying the data every time. This should be judged and processed by the SQL Update command. |
Take the following function as an example:
When all
notifications
for the givennotified_uid
are alreadyfalse
(i.e. no result is returned), I get the following exception:I was able to confirm this in several ways:
.eq('is_seen', false)
-- no issueis_seen
tofalse
on Dashboard -- no issue on the first call, error appears in subsequent ones.Given that, I assume the error is caused when no results are returned.
Version:
^0.2.13
2.8.1
The text was updated successfully, but these errors were encountered: