Changes

Jump to navigation Jump to search
m
no edit summary
Line 22: Line 22:  
     // Add some data
 
     // Add some data
 
     store.put({id: 12345, name: {first: "John", last: "Doe"}, age: 42, phone: '+33123456789'});
 
     store.put({id: 12345, name: {first: "John", last: "Doe"}, age: 42, phone: '+33123456789'});
     store.put({id: 67890, name: {first: "Bob", last: "Smith"}, age: 35, phone: '+33000000000'});
+
     store.put({id: 67890, name: {first: "Bob", last: "Smith"}, age: 35});
 
      
 
      
 +
    store.put({id: 67890, phone: '+33123456789'});
 +
 
     // Query the data
 
     // Query the data
 
     var getJohn = store.get(12345);
 
     var getJohn = store.get(12345);
530

edits

Navigation menu