Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-4697

wildcard search on cxx driver

    XMLWordPrintableJSON

Details

    • Icon: Question Question
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • 64 bit
      Ubuntu 11.10
      Eclipse IDE

    Description

      I am sorry to have posted this here, but I tried on the c driver project and there we no responses.

      How do I do this (select person from people where name like 'john%'), on the cxx driver?

      Currently this is how I achieve my exact matches:-

      auto_ptr<mongo::DBClientCursor> cursor =
      (*conn).query(NS_INVENTORY, BSON("Name" << name))

      Thank you!

      Attachments

        Activity

          People

            Unassigned Unassigned
            khosimorafo@yahoo.com Khosi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: