Update data
Orama is optimized to be immutable. Rather than trying to update a document in the database, we suggest you to create the database from scratch.
People that know what they are doing can use the update
or updateMultiple
methods, which are just aliases for remove
/removeMultiple
followed by a insert
/insertMultiple
.