Define "Scalar Value"
Scalar values are non reference values.
This does not necessarily mean simple values. They may have multiple components that are independently mutable.
"scalar" simply means if two "entities", have the same value for the same declared field, they have a copy...
#Coding
Side note, document ( or "schemaless") stores and APIs tend to have a lot of what should be reference types, embedded as scalar values.
This is problematic...
It's 100% fine for a derivative "readonly" view. It's a problem when it's your mutable source of truth store.
#MongoSucksUnlessItsACache
Comments
Post a Comment