DBProvider.addItem()method

addItem(collection: Collection<string, II, TT>, data: TT): Promise<II>

Add a new item to a collection and return its generated id.