scalikejdbc

async

package async

Default package to import

import scalikejdbc._, async._, SQLInterpolation._
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. async
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. trait AsyncConnection extends AnyRef

    Asynchronous DB connection

  2. abstract class AsyncConnectionPool extends AnyRef

    Asynchronous Connection Pool

  3. trait AsyncConnectionPoolFactory extends AnyRef

    Asynchronous Connection Pool Factory

  4. case class AsyncConnectionPoolSettings(maxPoolSize: Int = 8, maxQueueSize: Int = 8, maxIdleMillis: Long = 1000L) extends Product with Serializable

    Settings for AsyncConnectionPool

  5. trait AsyncDBSession extends LogSupport

    Asynchronous DB Session

  6. final class AsyncOneToManies2SQLToList[A, B1, B2, Z] extends AnyVal with AsyncSQLToList[Z]

  7. final class AsyncOneToManies2SQLToOption[A, B1, B2, Z] extends AnyVal with AsyncSQLToOption[Z]

  8. final class AsyncOneToManies2SQLToTraversable[A, B1, B2, Z] extends AnyVal with AsyncSQLToTraversable[Z]

  9. final class AsyncOneToManies3SQLToList[A, B1, B2, B3, Z] extends AnyVal with AsyncSQLToList[Z]

  10. final class AsyncOneToManies3SQLToOption[A, B1, B2, B3, Z] extends AnyVal with AsyncSQLToOption[Z]

  11. final class AsyncOneToManies3SQLToTraversable[A, B1, B2, B3, Z] extends AnyVal with AsyncSQLToTraversable[Z]

  12. final class AsyncOneToManies4SQLToList[A, B1, B2, B3, B4, Z] extends AnyVal with AsyncSQLToList[Z]

  13. final class AsyncOneToManies4SQLToOption[A, B1, B2, B3, B4, Z] extends AnyVal with AsyncSQLToOption[Z]

  14. final class AsyncOneToManies4SQLToTraversable[A, B1, B2, B3, B4, Z] extends AnyVal with AsyncSQLToTraversable[Z]

  15. final class AsyncOneToManies5SQLToList[A, B1, B2, B3, B4, B5, Z] extends AnyVal with AsyncSQLToList[Z]

  16. final class AsyncOneToManies5SQLToOption[A, B1, B2, B3, B4, B5, Z] extends AnyVal with AsyncSQLToOption[Z]

  17. final class AsyncOneToManies5SQLToTraversable[A, B1, B2, B3, B4, B5, Z] extends AnyVal with AsyncSQLToTraversable[Z]

  18. final class AsyncOneToManySQLToList[A, B, Z] extends AnyVal with AsyncSQLToList[Z]

  19. final class AsyncOneToManySQLToOption[A, B, Z] extends AnyVal with AsyncSQLToOption[Z]

  20. final class AsyncOneToManySQLToTraversable[A, B, Z] extends AnyVal with AsyncSQLToTraversable[Z]

  21. final class AsyncOneToOneSQLToList[A, B, Z] extends AnyVal with AsyncSQLToList[Z]

  22. final class AsyncOneToOneSQLToOption[A, B, Z] extends AnyVal with AsyncSQLToOption[Z]

  23. final class AsyncOneToOneSQLToTraversable[A, B, Z] extends AnyVal with AsyncSQLToTraversable[Z]

  24. abstract class AsyncQueryResult extends AnyRef

    Query Result

  25. trait AsyncResultSet extends WrappedResultSet

    WrappedResultSet for Asynchronous DB Session

  26. class AsyncResultSetTraversable extends Traversable[WrappedResultSet]

    AysncResultSet Traversable

  27. trait AsyncSQLExecution extends Any

  28. final class AsyncSQLExecutionImpl extends AnyVal with AsyncSQLExecution

  29. trait AsyncSQLToList[A] extends Any

  30. final class AsyncSQLToListImpl[A] extends AnyVal with AsyncSQLToList[A]

  31. trait AsyncSQLToOption[A] extends Any

  32. final class AsyncSQLToOptionImpl[A] extends AnyVal with AsyncSQLToOption[A]

  33. trait AsyncSQLToTraversable[A] extends Any

  34. final class AsyncSQLToTraversableImpl[A] extends AnyVal with AsyncSQLToTraversable[A]

  35. trait AsyncSQLUpdate extends Any

  36. trait AsyncSQLUpdateAndReturnGeneratedKey extends Any

  37. final class AsyncSQLUpdateAndReturnGeneratedKeyImpl extends AnyVal with AsyncSQLUpdateAndReturnGeneratedKey

  38. final class AsyncSQLUpdateImpl extends AnyVal with AsyncSQLUpdate

  39. class AsyncTxQuery extends AnyRef

    Asynchronous Transactional Query

  40. case class NamedAsyncDB(name: Any = AsyncConnectionPool.DEFAULT_NAME) extends Product with Serializable

    Basic Database Accessor with the name

  41. trait NonSharedAsyncConnection extends AsyncConnection

    Non-shared Asynchronous Connection

  42. case class SharedAsyncDBSession(connection: AsyncConnection) extends AsyncDBSession with Product with Serializable

    Shared Asynchronous DB session

  43. trait ShortenedNames extends AnyRef

    Shortened Names

  44. case class TxAsyncDBSession(connection: NonSharedAsyncConnection) extends AsyncDBSession with Product with Serializable

    Asynchronous Transactional DB Session

Value Members

  1. object AsyncConnectionPool extends LogSupport

    Asynchronous Connection Pool Companion Object

  2. object AsyncConnectionPoolFactory extends AsyncConnectionPoolFactory

    Asynchronous Connection Pool Factory

  3. object AsyncDB

    Basic Database Accessor

  4. object AsyncTx

    Asynchronous Transaction Provider

  5. object FutureImplicits

    Provides power mode by implicit converions.

    Provides power mode by implicit converions.

    import scalikejdbc._, async._, FutureImplicits._
    val wc = Worker.column
    val future: Future[Unit] = AsyncDB.localTx { implicit tx =>
      for {
        companyId <- withSQL {
            insert.into(Company).values("Typesafe", DateTime.now)
          }.updateAndReturnGeneratedKey
        _ <- update(Worker).set(wc.companyId -> companyId).where.eq(wc.id, 123)
      } yield ()
    }
  6. object ShortenedNames extends ShortenedNames

  7. object executeFuture

  8. package internal

  9. implicit def makeOneToManies2SQLToListAsync[A, B1, B2, Z](sql: OneToManies2SQLToList[A, B1, B2, HasExtractor, Z]): AsyncOneToManies2SQLToList[A, B1, B2, Z]

  10. implicit def makeOneToManies2SQLToOptionAsync[A, B1, B2, Z](sql: OneToManies2SQLToOption[A, B1, B2, HasExtractor, Z]): AsyncOneToManies2SQLToOption[A, B1, B2, Z]

  11. implicit def makeOneToManies2SQLToTraversableAsync[A, B1, B2, Z](sql: OneToManies2SQLToTraversable[A, B1, B2, HasExtractor, Z]): AsyncOneToManies2SQLToTraversable[A, B1, B2, Z]

  12. implicit def makeOneToManies3SQLToListAsync[A, B1, B2, B3, Z](sql: OneToManies3SQLToList[A, B1, B2, B3, HasExtractor, Z]): AsyncOneToManies3SQLToList[A, B1, B2, B3, Z]

  13. implicit def makeOneToManies3SQLToOptionAsync[A, B1, B2, B3, Z](sql: OneToManies3SQLToOption[A, B1, B2, B3, HasExtractor, Z]): AsyncOneToManies3SQLToOption[A, B1, B2, B3, Z]

  14. implicit def makeOneToManies3SQLToTraversableAsync[A, B1, B2, B3, Z](sql: OneToManies3SQLToTraversable[A, B1, B2, B3, HasExtractor, Z]): AsyncOneToManies3SQLToTraversable[A, B1, B2, B3, Z]

  15. implicit def makeOneToManies4SQLToListAsync[A, B1, B2, B3, B4, Z](sql: OneToManies4SQLToList[A, B1, B2, B3, B4, HasExtractor, Z]): AsyncOneToManies4SQLToList[A, B1, B2, B3, B4, Z]

  16. implicit def makeOneToManies4SQLToOptionAsync[A, B1, B2, B3, B4, Z](sql: OneToManies4SQLToOption[A, B1, B2, B3, B4, HasExtractor, Z]): AsyncOneToManies4SQLToOption[A, B1, B2, B3, B4, Z]

  17. implicit def makeOneToManies4SQLToTraversableAsync[A, B1, B2, B3, B4, Z](sql: OneToManies4SQLToTraversable[A, B1, B2, B3, B4, HasExtractor, Z]): AsyncOneToManies4SQLToTraversable[A, B1, B2, B3, B4, Z]

  18. implicit def makeOneToManies5SQLToListAsync[A, B1, B2, B3, B4, B5, Z](sql: OneToManies5SQLToList[A, B1, B2, B3, B4, B5, HasExtractor, Z]): AsyncOneToManies5SQLToList[A, B1, B2, B3, B4, B5, Z]

  19. implicit def makeOneToManies5SQLToOptionAsync[A, B1, B2, B3, B4, B5, Z](sql: OneToManies5SQLToOption[A, B1, B2, B3, B4, B5, HasExtractor, Z]): AsyncOneToManies5SQLToOption[A, B1, B2, B3, B4, B5, Z]

  20. implicit def makeOneToManies5SQLToTraversableAsync[A, B1, B2, B3, B4, B5, Z](sql: OneToManies5SQLToTraversable[A, B1, B2, B3, B4, B5, HasExtractor, Z]): AsyncOneToManies5SQLToTraversable[A, B1, B2, B3, B4, B5, Z]

  21. implicit def makeOneToManySQLToListAsync[A, B, Z](sql: OneToManySQLToList[A, B, HasExtractor, Z]): AsyncOneToManySQLToList[A, B, Z]

  22. implicit def makeOneToManySQLToOptionAsync[A, B, Z](sql: OneToManySQLToOption[A, B, HasExtractor, Z]): AsyncOneToManySQLToOption[A, B, Z]

  23. implicit def makeOneToManySQLToTraversableAsync[A, B, Z](sql: OneToManySQLToTraversable[A, B, HasExtractor, Z]): AsyncOneToManySQLToTraversable[A, B, Z]

  24. implicit def makeOneToOneSQLToListAsync[A, B, Z](sql: OneToOneSQLToList[A, B, HasExtractor, Z]): AsyncOneToOneSQLToList[A, B, Z]

  25. implicit def makeOneToOneSQLToOptionAsync[A, B, Z](sql: OneToOneSQLToOption[A, B, HasExtractor, Z]): AsyncOneToOneSQLToOption[A, B, Z]

  26. implicit def makeOneToOneSQLToTraversableAsync[A, B, Z](sql: OneToOneSQLToTraversable[A, B, HasExtractor, Z]): AsyncOneToOneSQLToTraversable[A, B, Z]

  27. implicit def makeSQLExecutionAsync(sql: SQLExecution): AsyncSQLExecution

  28. implicit def makeSQLToListAsync[A, B1, B2, B3, B4, B5, Z](sql: SQLToListImpl[A, HasExtractor]): AsyncSQLToList[A]

  29. implicit def makeSQLToListAsync[A, B1, B2, B3, B4, B5, Z](sql: SQLToList[A, HasExtractor]): AsyncSQLToList[A]

  30. implicit def makeSQLToOptionAsync[A, B1, B2, B3, B4, B5, Z](sql: SQLToOptionImpl[A, HasExtractor]): AsyncSQLToOption[A]

  31. implicit def makeSQLToOptionAsync[A, B1, B2, B3, B4, B5, Z](sql: SQLToOption[A, HasExtractor]): AsyncSQLToOption[A]

  32. implicit def makeSQLToTraversableAsync[A, B1, B2, B3, B4, B5, Z](sql: SQLToTraversableImpl[A, HasExtractor]): AsyncSQLToTraversable[A]

  33. implicit def makeSQLToTraversableAsync[A, B1, B2, B3, B4, B5, Z](sql: SQLToTraversable[A, HasExtractor]): AsyncSQLToTraversable[A]

  34. implicit def makeSQLUpdateAndReturnGeneratedKeyAsync(sql: SQLUpdateWithGeneratedKey): AsyncSQLUpdateAndReturnGeneratedKey

  35. implicit def makeSQLUpdateAsync(sql: SQLUpdate): AsyncSQLUpdate

  36. object updateFuture

Inherited from AnyRef

Inherited from Any

Ungrouped