A fast, low memory, transactional, index & query enabled NoSQL database engine and server for node.js and browser with realtime data change notifications
MIT License
491
stars
27
forks
source link
Failed to add to transaction log: Cannot store arrays with missing entries #59
When the value of an array is updated with transaction logging switched on, the error "Failed to add to transaction log: Cannot store arrays with missing entries" will be thrown. This is because AceBase does not store sparse arrays, and updates to array values (being written to the transaction log) are always sparse. To fix this, those mutations in the transaction log will have to be either stored as an object or string.
When the value of an array is updated with transaction logging switched on, the error
"Failed to add to transaction log: Cannot store arrays with missing entries"
will be thrown. This is because AceBase does not store sparse arrays, and updates to array values (being written to the transaction log) are always sparse. To fix this, those mutations in the transaction log will have to be either stored as anobject
orstring
.