ThroughDBProvider.getQuery()method

getQuery(collection: Collection<string, II, TT>, query?: Query<Item<II, TT>>): Promise<Items<II, TT>>

Get the items in a collection matching an optional query.