Closed retorquere closed 1 year ago
Trimming the deletes to the effective deletes does work. Does removeMany
not tolerate non-existent keys to be passed?
Looks like it doesn't. I had not expected this behavior. Does that mean I should always run a many
query to detect existing items before passing ids to removeMany
? This seems fairly counterintuitive to me.
Worse -- it does a partial delete until it finds an ID it doesn't know and then stops (I've changed the script to show this, but the code I linked to makes it clear it will). Shouldn't that return false
just be a continue
?
Yep, that's an error. Deleting an ID that does not exist within the table should be a noop (i.e. your line should be a continue
instead).
Would you mind making a PR for this? :)
Any indication when this could be out in a new release? I'm mid-migration to blinkdb in a tool I'm making and this is a showstopper for me.
closed in #30.
Any indication when this could be out in a new release? I'm mid-migration to blinkdb in a tool I'm making and this is a showstopper for me.
See https://github.com/blinkdb-js/blinkdb/releases/tag/v0.14.0.
I'm pretty sure I must be missing something dead obvious, but I have a script where I do two
removeMany
s that should have identical effect (I think) that don't in practice. Sorry for the newbie questions, but I've been trying to figure out all day what I'm doing wrong, and I just don't see it.