ThroughDBProvider.getItem()method

getItem(collection: Collection<string, II, TT>, id: II): Promise<OptionalItem<II, TT>>

Get an item from a collection by its id, or undefined if it doesn't exist.