Document-oriented database - What if the document definitions change?
Posted
by Sebastian Hoitz
on Stack Overflow
See other posts from Stack Overflow
or by Sebastian Hoitz
Published on 2010-05-16T23:21:40Z
Indexed on
2010/05/16
23:30 UTC
Read the original article
Hit count: 276
As I understand it, you can enter any non-structured information into a document-oriented database. Let's imagine a document like this:
{
name: 'John Blank',
yearOfBirth: 1960
}
Later, in a new version, this structure is refactored to
{
firstname: 'John',
lastname: 'Blank',
yearOfBirth: 1960
}
How do you do this with Document-Oriented databases? Do you have to prepare merge-scripts, that alter all your entries in the database? Or are there better ways you can handle changes in the structure?
© Stack Overflow or respective owner