scalikejdbc.streams
An implicit to enable the DB.readOnlyStream method:
DB.readOnlyStream
val publisher = DB.readOnlyStream { sql"select id from users".map(_.long("id")).iterator }
An implicit to enable the
DB.readOnlyStream
method: