how can i update field with another field's value.
        Posted  
        
            by firefox01
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by firefox01
        
        
        
        Published on 2010-04-09T10:31:24Z
        Indexed on 
            2010/04/09
            10:33 UTC
        
        
        Read the original article
        Hit count: 157
        
mongodb
hi,
i have a collection t1 _id, field1,field1
i want set field2's value field1 like sql:
update t1 set field1=field2;
how to do it?
thanks.
© Stack Overflow or respective owner