Method: Wgit::Database::DatabaseAdapter#bulk_upsert

Defined in:
lib/wgit/database/database_adapter.rb

#bulk_upsert(objs) ⇒ Integer

Bulk upserts the objects in the database collection. You cannot mix collection objs types, all must be Urls or Documents.

Parameters:

Returns:

  • (Integer)

    The total number of newly inserted objects.

Raises:

  • (NotImplementedError)


105
106
107
# File 'lib/wgit/database/database_adapter.rb', line 105

def bulk_upsert(objs)
  raise NotImplementedError, NOT_IMPL_ERR
end