HomeBlogLearn

sample-records.txt

db.pets.insertMany(
    [
        {
            _id: "1",
            pet_name: "juice",
            breed: "maltese",
            age: 11,
            sex: "female",
            personality: "friendly",
            type: "dog"
        },
        {
            _id: "2",
            pet_name: "squack",
            breed: "parakeet",
            age: 4,
            sex: "male",
            personality: "loud",
            type: "bird"
        },
        {
            _id: "3",
            pet_name: "bobby",
            breed: "pigeon",
            age: 2,
            sex: "female",
            personality: "energetic",
            type: "bird"
        },
        {
            _id: "4",
            pet_name: "whalina",
            breed: "blue",
            age: 23,
            sex: "female",
            weight: 187000,
            type: "whale"
        },
        {
            _id: "5",
            pet_name: "Hershey",
            breed: "boxer",
            age: 3,
            sex: "male",
            personality: "playful",
            type: "dog"
        },
        {
            _id: "6",
            pet_name: "squeek",
            breed: "siamese",
            age: 15,
            sex: "male",
            weight: 2,
            type: "cat"
        },
        {
            _id: "7",
            pet_name: "kipper",
            breed: "greyhound",
            age: 5,
            sex: "male",
            neutered: true,
            type: "dog"
        },
        {
            _id: "8",
            pet_name: "noki",
            breed: "short-haired persian",
            age: 3,
            sex: "female",
            type: "cat"
        },
        {
            _id: "9",
            pet_name: "pooki",
            age: 3,
            sex: "female",
        },
        {
            _id: "10",
            pet_name: "snooki",
            age: 5,
            sex: "male",
        },
        {
            _id: "11",
            pet_name: "wooki",
            age: 4,
            sex: "male",
        }
    ]
)