No clear route to add/update a new row.
See original GitHub issueWhen trying to update a row in the DB using:
this.localDB.update("storeName", newRow).subscribe(
//next
(result) => console.log(result),
//error
(error) => {
this.localDB.add("storeName", newRow).subscribe(
//next
(result) => console.log(result),
() => console.log("unable to update")
)
}
);
If the DB is empty or the key exists, there’s no issue. But if there are any other rows, then the runtime error isn’t captured and console shows only:
Uncaught TypeError: Cannot read properties of undefined (reading 'isStopped')
Issue Analytics
- State:
- Created 2 years ago
- Reactions:4
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Cannot add or update a child row: a foreign key constraint fails
You're getting this error because you're trying to add/update a row to table2 that does not have a valid value for the UserID...
Read more >Maintaining the routing file - IBM
The NPF ISPF interface allows you to maintain your routing file by providing you with panels to browse, add, copy, update, or delete...
Read more >Updating Data - Tabulator
You can add a data to the existing table data using the addData function. The first argument should be an array of row...
Read more >4. Inserting, Updating, Deleting - SQL Cookbook [Book] - O'Reilly
The INSERT statement allows you to create new rows in database tables. ... Prior to Oracle9i Database, there was no way to explicitly...
Read more >Insert, update, and delete data using data manipulation ...
Use the following steps to execute a DML statement in the Google Cloud console. Go to the Spanner Instances page. ... Enter a...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @JosepAlacid, the problem is still present? If so the request will be taken care of.
P.s. sorry if it’s been some time to get back to you
Hi @JosepAlacid I believe this got fixed together in #319
Therefore I am closing this, feel free to reopen it if you find a different problem.