Skip to content
Snippets Groups Projects
  • Robert J. Moore's avatar
    7e04261d
    [mongodb] Add mongodb.upsert configuration option. · 7e04261d
    Robert J. Moore authored
    Added a configuration option (mongodb.upsert) to control if the driver
    performs inserts or upserts operations for the DB.insert() method.
    Defaults to doing inserts.
    
    Note: Change in behavior from previous versions that performed upserts
    for non-batched DB.insert() operations.
    
    Fixes #400.
    7e04261d
    History
    [mongodb] Add mongodb.upsert configuration option.
    Robert J. Moore authored
    Added a configuration option (mongodb.upsert) to control if the driver
    performs inserts or upserts operations for the DB.insert() method.
    Defaults to doing inserts.
    
    Note: Change in behavior from previous versions that performed upserts
    for non-batched DB.insert() operations.
    
    Fixes #400.