Skip to content

DOCS-651 migrate collections page #411

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 19, 2012
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions source/faq/developers.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,18 @@ occur in collection names, so that the ``acme.user.history`` is a
valid namespace, with the ``acme`` database name, and the
``user.history`` collection name.

How do namespaces affect database internals?
--------------------------------------------

Namespaces do not affect database internals. Within a database,
collection namespaces have no hierarchy.

Namespaces are an organizational method intended only for the database
user. Namespaces allow users to group related collections. For example,
the collections ``blog.posts`` and ``blog.authors`` are grouped together
as blogs. This is purely for the user's benefit and has no affect on
database organization.

How do you copy all objects from one collection to another?
-----------------------------------------------------------

Expand Down
12 changes: 9 additions & 3 deletions source/reference/glossary.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,15 @@ Glossary
databases.

collection
A namespace within a database for containing :term:`documents <document>`.
Collections do not enforce a schema, but they are otherwise
mostly analogous to :term:`RDBMS` tables.
Collections are groupings of :term:`BSON` :term:`documents
<document>`. Collections do not enforce a schema, but they are
otherwise mostly analogous to :term:`RDBMS` tables.

The documents within a collection may or may not have the same
structure. Any new document can add new fields to a collection.
Collection names can have a dot, and you may use this to simulate
a hierarchical namespace; however, the collection namespace for
each database is itself flat.

$cmd
A virtual :term:`collection` that exposes :term:`MongoDB`'s
Expand Down