// Swith to database test1 use test1; // Create two users John and Jane john = { firstName: 'John', lastName: 'Doe', age: 20, address: { street: '123 main', city: 'Los Angeles', state: 'CA' } }; jane = { firstName: 'Jane', lastName: 'Doe', age: 22, }; // Save the two users to database "test1" and collection "users" db.users.save( john ); db.users.save( jane );