mirror of
https://github.com/janishutz/libreevent.git
synced 2025-11-25 21:34:24 +00:00
deletion postponing
This commit is contained in:
@@ -124,8 +124,8 @@ class JSONDB {
|
||||
else {
|
||||
for ( let entry in this.db[ table ] ) {
|
||||
if ( this.db[ table ][ entry ][ operation.property ] == operation.searchQuery ) {
|
||||
for ( let changed in operation.data ) {
|
||||
this.db[ table ][ entry ][ changed ] = operation.data[ changed ];
|
||||
for ( let changed in operation.newValues ) {
|
||||
this.db[ table ][ entry ][ changed ] = operation.newValues[ changed ];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user