Changes between Version 38 and Version 39 of Internal/InventoryV3
- Timestamp:
- Jan 12, 2011, 8:17:19 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Internal/InventoryV3
v38 v39 5 5 Versions: 6 6 7 * gather.rb:2.1 18 * writer.rb:1.02 ( will bedeprecated)9 * logcopy:0.04 ( will bedeprecated)7 * gather.rb:2.17 8 * writer.rb:1.02 (deprecated) 9 * logcopy:0.04 (deprecated) 10 10 * inventoryv2.rb:0.05 11 11 … … 376 376 Finally, the sql_query method has a .flatten in the last statmenet now since the row and query operations return a nested array. I've made it a policy that the query should return a flat array of answers. 377 377 378 378 === 1/12/2011 === 379 380 I've made a fundemental mistake in my assumptions. The update method should not just insert things that are missing, it should also check that the data matches what is currently on the database. 381 382 I'll need an insert and update method, in component.