Support object cloning for BSONArray and BSONDocument

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Minor - P4
    • 1.4.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      // E.g. This could be nice if possible. Problem right now is it not deep! 
      $doc = $collection->findOne($query); 
      $copy = clone $doc;
      
      // Implement 
      __clone()
      

            Assignee:
            Katherine Walker (Inactive)
            Reporter:
            Jesper Erik Bendtsen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: