复制collections use product-test; var cursor = db.user.find(); use product; while(cursor.hasNext()){db.user.insert(cursor.next());}