3 ms·
In fairness to MongoDB, I've seen this done in the relational world. I once worked at a place who had a schema where everything joined through a single table --
by jacques_chester 13y ago
In fairness to MongoDB, I've seen this done in the relational world. I once worked at a place who had a schema where everything joined through a single table -- "TableRow_TableRow", which had six fields. Two IDs (which were varchars) and metadata_1 through metadata_4 (also varchars).
They couldn't understand why it was so slow. But hey, it's super flexible, right?