issue #22534: We have a second use case where a crazy function is required to fetch records for a collection. Refactor so it is one line of code to indicate to the client to go that route, and handle all the implications on the database side.