From 4dcc8381c0dc5546e95fd81b9028dff59d998c02 Mon Sep 17 00:00:00 2001 From: Bob Grabar Date: Mon, 27 Oct 2014 22:01:23 -0400 Subject: [PATCH] is "--db" needed here? --- source/reference/program/mongoimport.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/reference/program/mongoimport.txt b/source/reference/program/mongoimport.txt index 95cd2161283..147f323b514 100644 --- a/source/reference/program/mongoimport.txt +++ b/source/reference/program/mongoimport.txt @@ -140,7 +140,7 @@ number 27017. .. code-block:: sh - mongoimport --collection contacts --file contacts.json + mongoimport --db users --collection contacts --file contacts.json In the next example, :program:`mongoimport` takes data passed to it on standard input (i.e. with a ``|`` pipe.) and imports it into the