Help for this page

Select Code to Download


  1. or download this
    begin code-----------------
    use MongoDB;
    use MongoDB::OID;
    ...
    my $db = $conn->test;
    $db->id->insert({"id1"=>1,"id2"=>2});
    end code-------------------
    
  2. or download this
    > "id1" : NumberLong(1),"id2" : NumberLong(2)
    
  3. or download this
    "id1" : 1,"id2":2