MapToOneOrDefaultQueryStreamExtensions extension

Transform Query to single value. Stream<Query> to Stream<T>.

on

Methods

mapToOneOrDefault<T>(T rowMapper(JSON row), T defaultValue) Stream<T>
Given a function mapping the current row to T, transform each emitted Query which returns a single row to T.