scalikejdbc.streams
package scalikejdbc.streams
Type members
Classlikes
A database backend Publisher in the fashion of Reactive Streams
A database backend Publisher in the fashion of Reactive Streams
see also: https://www.reactive-streams.org/
An implicit to enable the DB.readOnlyStream method:
An implicit to enable the DB.readOnlyStream method:
val publisher = DB.readOnlyStream {
sql"select id from users".map(_.long("id")).iterator
}
An implicit to enable the NamedDB('name).readOnlyStream method:
An implicit to enable the NamedDB('name).readOnlyStream method:
val publisher = NamedDB('name).readOnlyStream {
sql"select id from users".map(_.long("id")).iterator
}
An implicit to enable the iterator method:
An implicit to enable the iterator method:
val publisher = DB.readOnlyStream {
sql"select id from users".map(_.long("id")).iterator
}