scalikejdbc.streams

Type members

Classlikes

class DatabasePublisher[A] extends Publisher[A] with LogSupport

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/

final class EnableDBCodeBlockToProvideDatabasePublisher(db: DB) extends AnyVal

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
}
final class EnableNamedDBCodeBlockToProvideDatabasePublisher(db: NamedDB) extends AnyVal

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
}
final class FromSQLToStreamSQLConverter[A, E <: WithExtractor](sql: SQL[A, E]) extends AnyVal

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
}
case class StreamReadySQL[A]

Streaming-ready SQL object.

Streaming-ready SQL object.

The primary constructor is intentionally hidden, use only StreamSQL object's apply method to instantiate.

Value members

Concrete fields