3 ms·
In a docucument database you model this as a document with a field which is an array. In relational database, you model this as two tables. In both cases, you
by twic 4y ago
In a docucument database you model this as a document with a field which is an array. In relational database, you model this as two tables.
In both cases, you simply model according to the philosophy of the database. It is incorrect to think either is more "natural" in some intrinsic sense.