Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-1479

Comment on: "manual/reference/method/db.collection.insert.txt"

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None

    Description

      Hi MongodbTeam,

      I want to enter the value containing double quotes. When I tried entering

      > db.products.insert(

      {name:"Samsung H/"ero",brand:"Samsung",type:"phone",price:1 80,warranty_years:1,available:true}

      )

      I got three eclipse

      ...

      I happened to give ^C to escape from it.

      What is the way to enter double quotes. I even tried with \. nothing works

      Attachments

        Activity

          People

            barrie Barrie Segal
            auto auto
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              10 years, 41 weeks ago