Changes

Jump to navigation Jump to search
m
no edit summary
Line 22: Line 22:  
     // Add some data
 
     // Add some data
 
     // var John = {id: 12345, name: {first: "John", last: "Doe"}, age: 42, phone: '+33123456789'};
 
     // var John = {id: 12345, name: {first: "John", last: "Doe"}, age: 42, phone: '+33123456789'};
     // var Bob = {id: 67890, name: {first: "Bob", last: "Smith"}, age: 35};
+
     // var Bob = {id: 67890, name: {first: "Bob", last: "Smith"}, age: 35}
 
     // store.put(John);
 
     // store.put(John);
 
     // store.put(Bob);
 
     // store.put(Bob);
Line 29: Line 29:  
     recordUpdate(["Pete", "Rock"], phoneNumber, '+674316');
 
     recordUpdate(["Pete", "Rock"], phoneNumber, '+674316');
 
     // Query the data   
 
     // Query the data   
};
   
      
 
      
 
     // Close the db when the transaction is done
 
     // Close the db when the transaction is done
530

edits

Navigation menu