Y
Hacker News
new
|
ask
|
show
|
jobs
by
cheald
5178 days ago
"use foobar" creates a new database called foobar.
1 comments
pjungwir
5178 days ago
Ah, somewhere along the line I got the impression that in Mongo a "database" and a "collection" were the same thing, but that's not true. Glad to know this was just my mistake!
link
cheald
5177 days ago
Nope. Collections are analogous to tables, and documents to rows.
link