Reputation: 152018
The documentation on documents seems to favor the term "document", and also refers to "database records". Elsewhere, competent MongoDB developers have apparently interchangeably used "attributes" and "records".
What is the correct/official terminology to use in various instances? Is it documented somewhere on mongodb.org?
Upvotes: 4
Views: 1451
Reputation: 30881
In MongoDB terminology document is a more generic term than a database record.
For example, the documentation page you linked says explicitly that database records, query selectors, update definitions, and index specifications are all documents.
Upvotes: 1
Reputation: 43884
The confusion is merely because many MongoDB users are not just MongoDB users but also use 100 other techs including SQL.
I personally have mixed up my language as well, it's not uncommon however document and database records are the same thing and properties, attributes and columns are the same thing as well.
It should be noted that meteor calls them attributes because they are attributes within an object in JS (most likely that's why).
Upvotes: 1