>
> I have the same issue. 
>
My Mapping is.
     
                                                                     
    /** @ODM\Hash */                                      
    private $permissionList = array();                 
                                                                     

I have some documents in the collections, their are having json objects. 
like given bellow

                                                                            
          
    "permissionList" : {                                                   
   
"0" : "C:526e31899875299218a8de75-teacher",  
"1" : "C:526e32519875298d18a8de72-teacher",  
"2" : "C:526f96a1d707e2427d2f3477-student"     
    }                                                                       
          
                                                                            
          

And some are having array with square brackets in the same collection. like 
given bellow.

                                                                            
      
   "permissionList" : [                                                    
    "C:52ccfd12d707e231704cdad8-teacher"       
                 "L:530ae68d9b839a7b017d1435-student"       
   ]                                                                       
       
                                                                            
      


So now I need to update documents which are having curly brackets, to 
square brackets. Can anybody help me.

Thank you.


-- 
You received this message because you are subscribed to the Google Groups 
"doctrine-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/doctrine-user.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to