skinny.orm

SkinnyJoinTableWithId

trait SkinnyJoinTableWithId[Id, Entity] extends SkinnyMapperWithId[Id, Entity] with QueryingFeatureWithId[Id, Entity]

Linear Supertypes
QueryingFeatureWithId[Id, Entity], IncludesFeatureWithId[Id, Entity], JoinsFeature[Entity], SkinnyMapperWithId[Id, Entity], StrongParametersFeature, DynamicTableNameFeatureWithId[Id, Entity], IdFeature[Id], AssociationsFeature[Entity], Logging, AutoSessionFeature, ConnectionPoolFeature, SkinnyMapperBase[Entity], scalikejdbc.SQLInterpolation.SQLSyntaxSupport[Entity], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SkinnyJoinTableWithId
  2. QueryingFeatureWithId
  3. IncludesFeatureWithId
  4. JoinsFeature
  5. SkinnyMapperWithId
  6. StrongParametersFeature
  7. DynamicTableNameFeatureWithId
  8. IdFeature
  9. AssociationsFeature
  10. Logging
  11. AutoSessionFeature
  12. ConnectionPoolFeature
  13. SkinnyMapperBase
  14. SQLSyntaxSupport
  15. AnyRef
  16. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. sealed trait Calculation extends AnyRef

    Definition Classes
    QueryingFeatureWithId
  2. case class EntitiesSelectOperationBuilder(mapper: QueryingFeatureWithId[Id, Entity], conditions: Seq[scalikejdbc.SQLInterpolation.SQLSyntax] = immutable.this.Nil, orderings: Seq[scalikejdbc.SQLInterpolation.SQLSyntax] = immutable.this.Nil, limit: Option[Int] = scala.None, offset: Option[Int] = scala.None) extends SelectOperationBuilder with Product with Serializable

    Entities finder builder.

  3. abstract class SelectOperationBuilder extends AnyRef

    Select query builder.

Abstract Value Members

  1. abstract def defaultAlias: Alias[Entity]

    Returns default table alias.

    Returns default table alias. This method is abstract and should be implemented with unique name. override def defaultAlias = createAlias("sm")

    Definition Classes
    SkinnyMapperBase
  2. abstract def idToRawValue(id: Id): Any

    Returns actual value from identity value.

    Returns actual value from identity value.

    id

    identity

    returns

    actual value

    Definition Classes
    IdFeature
  3. abstract def rawValueToId(rawValue: Any): Id

    Returns identity value from raw value.

    Returns identity value from raw value.

    rawValue

    raw value

    returns

    identity value

    Definition Classes
    IdFeature

Concrete Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. object Average extends Calculation with Product with Serializable

    Definition Classes
    QueryingFeatureWithId
  7. object Maximum extends Calculation with Product with Serializable

    Definition Classes
    QueryingFeatureWithId
  8. object Minimum extends Calculation with Product with Serializable

    Definition Classes
    QueryingFeatureWithId
  9. object Sum extends Calculation with Product with Serializable

    Definition Classes
    QueryingFeatureWithId
  10. def appendIncludedAttributes(entity: Option[Entity])(implicit s: DBSession, repository: IncludesQueryRepository[Entity]): Option[Entity]

    Applies includes operations to query result.

    Applies includes operations to query result.

    entity

    entity

    s

    session

    repository

    repository

    returns

    entity with included attributes

    Definition Classes
    IncludesFeatureWithId
  11. def appendIncludedAttributes(entities: List[Entity])(implicit s: DBSession, repository: IncludesQueryRepository[Entity]): List[Entity]

    Applies includes operations to query results.

    Applies includes operations to query results.

    entities

    entities

    s

    session

    repository

    repository

    returns

    entities with included attributes

    Definition Classes
    IncludesFeatureWithId
  12. def apply(rs: WrappedResultSet): Entity

    Extracts entity from ResultSet.

    Extracts entity from ResultSet.

    Definition Classes
    SkinnyMapperBase
  13. def apply(a: Alias[Entity])(rs: WrappedResultSet): Entity

    Extracts entity from ResultSet.

    Extracts entity from ResultSet.

    Definition Classes
    SkinnyMapperBase
  14. def as(provider: scalikejdbc.SQLInterpolation.QuerySQLSyntaxProvider[scalikejdbc.SQLInterpolation.SQLSyntaxSupport[Entity], Entity]): scalikejdbc.SQLInterpolation.TableAsAliasSQLSyntax

    Definition Classes
    SQLSyntaxSupport
  15. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  16. def associations: LinkedHashSet[Association[_]]

    Associations

    Associations

    Definition Classes
    AssociationsFeature
  17. def autoSession: DBSession

    AutoSession definition.

    AutoSession definition.

    Definition Classes
    AutoSessionFeature
  18. def belongsTo[A](right: AssociationsFeature[A], merge: (Entity, Option[A]) ⇒ Entity): BelongsToAssociation[Entity]

    Definition Classes
    AssociationsFeature
  19. def belongsToWithAlias[A](right: (AssociationsFeature[A], Alias[A]), merge: (Entity, Option[A]) ⇒ Entity): BelongsToAssociation[Entity]

    Definition Classes
    AssociationsFeature
  20. def belongsToWithAliasAndFk[A](right: (AssociationsFeature[A], Alias[A]), fk: String, merge: (Entity, Option[A]) ⇒ Entity): BelongsToAssociation[Entity]

    Definition Classes
    AssociationsFeature
  21. def belongsToWithAliasAndFkAndJoinCondition[A](right: (AssociationsFeature[A], Alias[A]), fk: String, on: scalikejdbc.SQLInterpolation.SQLSyntax, merge: (Entity, Option[A]) ⇒ Entity): BelongsToAssociation[Entity]

    Definition Classes
    AssociationsFeature
  22. def belongsToWithFk[A](right: AssociationsFeature[A], fk: String, merge: (Entity, Option[A]) ⇒ Entity): BelongsToAssociation[Entity]

    Definition Classes
    AssociationsFeature
  23. def belongsToWithFkAndJoinCondition[A](right: AssociationsFeature[A], fk: String, on: scalikejdbc.SQLInterpolation.SQLSyntax, merge: (Entity, Option[A]) ⇒ Entity): BelongsToAssociation[Entity]

    Definition Classes
    AssociationsFeature
  24. def belongsToWithJoinCondition[A](right: AssociationsFeature[A], on: scalikejdbc.SQLInterpolation.SQLSyntax, merge: (Entity, Option[A]) ⇒ Entity): BelongsToAssociation[Entity]

    Definition Classes
    AssociationsFeature
  25. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. def column: scalikejdbc.SQLInterpolation.ColumnName[Entity]

    Definition Classes
    SQLSyntaxSupport
  27. def columnNames: Seq[String]

    Returns column names.

    Returns column names.

    Definition Classes
    SkinnyMapperBase → SQLSyntaxSupport
  28. def columns: Seq[String]

    Definition Classes
    SQLSyntaxSupport
  29. def connectionPool: ConnectionPool

    Returns connection pool.

    Returns connection pool.

    returns

    pool

    Definition Classes
    ConnectionPoolFeature
  30. def connectionPoolName: Any

    Definition Classes
    SQLSyntaxSupport
  31. def convertAutoGeneratedIdToId[A](id: Long): Option[Id]

    Returns actual value from identity value.

    Returns actual value from identity value.

    A

    actual value type

    id

    identity

    returns

    actual value

    Definition Classes
    IdFeature
  32. def countAll()(implicit s: DBSession = autoSession): Long

  33. def countAllBy(where: scalikejdbc.SQLInterpolation.SQLSyntax)(implicit s: DBSession = autoSession): Long

  34. def createAlias(name: String): Alias[Entity]

    Creates a new table alias for this mapper.

    Creates a new table alias for this mapper.

    Definition Classes
    SkinnyMapperBase
  35. def createJoinDefinition(joinType: JoinType, left: (AssociationsFeature[_], Alias[_]), right: (AssociationsFeature[_], Alias[_]), on: scalikejdbc.SQLInterpolation.SQLSyntax): JoinDefinition[Entity]

    Creates a new join definition.

    Creates a new join definition.

    joinType

    join type

    left

    left mapper and table alias

    right

    right mapper and table alias

    on

    join condition

    returns

    join definition

    Definition Classes
    AssociationsFeature
  36. def createWithAttributes(parameters: (Symbol, Any)*)(implicit s: DBSession = autoSession): Unit

  37. def createWithNamedValues(namesAndValues: (scalikejdbc.SQLInterpolation.SQLSyntax, Any)*)(implicit s: DBSession = autoSession): Unit

  38. def createWithPermittedAttributes(strongParameters: PermittedStrongParameters)(implicit s: DBSession = autoSession): Unit

  39. def debug(msg: ⇒ Any, t: ⇒ Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  40. def debug(msg: ⇒ Any): Unit

    Attributes
    protected
    Definition Classes
    Logging
  41. val defaultBelongsToExtractors: LinkedHashSet[BelongsToExtractor[Entity]]

    Definition Classes
    AssociationsFeature
  42. val defaultHasOneExtractors: LinkedHashSet[HasOneExtractor[Entity]]

    Definition Classes
    AssociationsFeature
  43. val defaultJoinDefinitions: LinkedHashSet[JoinDefinition[_]]

    Join definitions that are enabled by default.

    Join definitions that are enabled by default.

    Definition Classes
    AssociationsFeature
  44. val defaultOneToManyExtractors: LinkedHashSet[HasManyExtractor[Entity]]

    Definition Classes
    AssociationsFeature
  45. def defaultOrdering: scalikejdbc.SQLInterpolation.SQLSyntax

  46. def defaultScope(alias: Alias[Entity]): Option[scalikejdbc.SQLInterpolation.SQLSyntax]

    Returns default scope for select queries.

    Returns default scope for select queries.

    Definition Classes
    SkinnyMapperBase
  47. def defaultScopeWithDefaultAlias: Option[scalikejdbc.SQLInterpolation.SQLSyntax]

    Definition Classes
    SkinnyMapperBase
  48. def defaultSelectQuery: scalikejdbc.SQLInterpolation.SelectSQLBuilder[Entity]

    Returns th default select query builder for this mapper.

    Returns th default select query builder for this mapper.

    returns

    select query builder

    Definition Classes
    AssociationsFeatureSkinnyMapperBase
  49. def deleteAll()(implicit s: DBSession = autoSession): Int

    Deletes all entities.

  50. def deleteBy(where: scalikejdbc.SQLInterpolation.SQLSyntax)(implicit s: DBSession = autoSession): Int

    Deletes entities by condition.

    Deletes entities by condition.

    where

    condition

    s

    db session

    returns

    deleted count

  51. def delimiterForResultName: String

    Definition Classes
    SQLSyntaxSupport
  52. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  53. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  54. def error(msg: ⇒ Any, t: ⇒ Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  55. def error(msg: ⇒ Any): Unit

    Attributes
    protected
    Definition Classes
    Logging
  56. def extract(rs: WrappedResultSet, s: scalikejdbc.SQLInterpolation.ResultName[Entity]): Entity

    Extracts entity from ResultSet.

    Extracts entity from ResultSet.

    Definition Classes
    SkinnyJoinTableWithIdSkinnyMapperBase
  57. def extract(sql: SQL[Entity, NoExtractor])(implicit includesRepository: IncludesQueryRepository[Entity]): SQL[Entity, HasExtractor]

    Definition Classes
    JoinsFeatureAssociationsFeature
  58. def extractBelongsTo[That](mapper: AssociationsFeature[That], fk: String, alias: Alias[That], merge: (Entity, Option[That]) ⇒ Entity, includesMerge: (Seq[Entity], Seq[That]) ⇒ Seq[Entity] = defaultIncludesMerge[Entity, That]): BelongsToExtractor[Entity]

    Definition Classes
    AssociationsFeature
  59. def extractHasOne[That](mapper: AssociationsFeature[That], fk: String, alias: Alias[That], merge: (Entity, Option[That]) ⇒ Entity, includesMerge: (Seq[Entity], Seq[That]) ⇒ Seq[Entity] = defaultIncludesMerge[Entity, That]): HasOneExtractor[Entity]

    Definition Classes
    AssociationsFeature
  60. def extractOneToMany[M1](mapper: AssociationsFeature[M1], alias: Alias[M1], merge: (Entity, Seq[M1]) ⇒ Entity, includesMerge: (Seq[Entity], Seq[M1]) ⇒ Seq[Entity] = defaultIncludesMerge[Entity, M1]): HasManyExtractor[Entity]

    Definition Classes
    AssociationsFeature
  61. def extractOneToManyWithDefaults[M1](mapper: AssociationsFeature[M1], merge: (Entity, Seq[M1]) ⇒ Entity, includesMerge: (Seq[Entity], Seq[M1]) ⇒ Seq[Entity] = defaultIncludesMerge[Entity, M1]): HasManyExtractor[Entity]

    One-to-Many relationship definition.

    One-to-Many relationship definition.

    object Member extends RelationshipFeature[Member] {
    oneToMany[Group](
      mapper = Group,
      merge = (m, c) => m.copy(company = c)
    )
    }
    Definition Classes
    AssociationsFeature
  62. def extractWithAssociations(sql: SQL[Entity, NoExtractor], belongsToAssociations: Seq[BelongsToAssociation[Entity]], hasOneAssociations: Seq[HasOneAssociation[Entity]], oneToManyAssociations: Seq[HasManyAssociation[Entity]])(implicit includesRepository: IncludesQueryRepository[Entity] = IncludesQueryRepository[Entity]()): SQL[Entity, HasExtractor]

    Creates an extractor for this query.

    Creates an extractor for this query.

    sql

    sql object

    belongsToAssociations

    belongsTo associations

    hasOneAssociations

    hasOne associations

    oneToManyAssociations

    hasMany associations

    returns

    sql object

    Definition Classes
    AssociationsFeature
  63. def extractWithOneToOneTables(rs: WrappedResultSet, belongsToExtractors: Set[BelongsToExtractor[Entity]], hasOneExtractors: Set[HasOneExtractor[Entity]])(implicit includesRepository: IncludesQueryRepository[Entity]): Entity

    Extracts entity with one-to-one tables.

    Extracts entity with one-to-one tables.

    rs

    result set

    belongsToExtractors

    belongsTo extractors

    hasOneExtractors

    hasOne extractors

    returns

    entity

    Definition Classes
    AssociationsFeature
  64. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  65. def findAll(orderings: Seq[scalikejdbc.SQLInterpolation.SQLSyntax] = Seq(defaultOrdering))(implicit s: DBSession = autoSession): List[Entity]

  66. def findAllBy(where: scalikejdbc.SQLInterpolation.SQLSyntax, orderings: Seq[scalikejdbc.SQLInterpolation.SQLSyntax] = ...)(implicit s: DBSession = autoSession): List[Entity]

  67. def findAllByWithLimitOffset(where: scalikejdbc.SQLInterpolation.SQLSyntax, limit: Int = 100, offset: Int = 0, orderings: Seq[scalikejdbc.SQLInterpolation.SQLSyntax] = ...)(implicit s: DBSession = autoSession): List[Entity]

  68. def findAllByWithLimitOffsetForOneToManyRelations(where: scalikejdbc.SQLInterpolation.SQLSyntax, limit: Int = 100, offset: Int = 0, orderings: Seq[scalikejdbc.SQLInterpolation.SQLSyntax] = Seq(defaultOrdering))(implicit s: DBSession = autoSession): List[Entity]

  69. def findAllByWithPagination(where: scalikejdbc.SQLInterpolation.SQLSyntax, pagination: Pagination, orderings: Seq[scalikejdbc.SQLInterpolation.SQLSyntax] = ...)(implicit s: DBSession = autoSession): List[Entity]

  70. def findAllWithLimitOffset(limit: Int = 100, offset: Int = 0, orderings: Seq[scalikejdbc.SQLInterpolation.SQLSyntax] = Seq(defaultOrdering))(implicit s: DBSession = autoSession): List[Entity]

  71. def findAllWithLimitOffsetForOneToManyRelations(limit: Int = 100, offset: Int = 0, orderings: Seq[scalikejdbc.SQLInterpolation.SQLSyntax] = Seq(defaultOrdering))(implicit s: DBSession = autoSession): List[Entity]

  72. def findAllWithPagination(pagination: Pagination, orderings: Seq[scalikejdbc.SQLInterpolation.SQLSyntax] = Seq(defaultOrdering))(implicit s: DBSession = autoSession): List[Entity]

  73. def findBy(where: scalikejdbc.SQLInterpolation.SQLSyntax)(implicit s: DBSession = autoSession): Option[Entity]

  74. def forceUpperCase: Boolean

    Definition Classes
    SQLSyntaxSupport
  75. def generateId: Id

    Generates auto-generated new Id.

    Generates auto-generated new Id.

    returns

    id

    Definition Classes
    IdFeature
  76. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  77. def getTypedValueFromStrongParameter(fieldName: String, value: Any, paramType: ParamType): Option[Any]

    Returns typed value from a strong parameter.

    Returns typed value from a strong parameter.

    fieldName

    field name

    value

    actual value

    paramType

    param type definition

    returns

    typed value if exists

    Attributes
    protected
    Definition Classes
    StrongParametersFeature
  78. def hasMany[M](many: (AssociationsFeature[M], Alias[M]), on: (Alias[Entity], Alias[M]) ⇒ scalikejdbc.SQLInterpolation.SQLSyntax, merge: (Entity, Seq[M]) ⇒ Entity): HasManyAssociation[Entity]

    Definition Classes
    AssociationsFeature
  79. def hasManyThrough[M1, M2](through: (AssociationsFeature[M1], Alias[M1]), throughOn: (Alias[Entity], Alias[M1]) ⇒ scalikejdbc.SQLInterpolation.SQLSyntax, many: (AssociationsFeature[M2], Alias[M2]), on: (Alias[M1], Alias[M2]) ⇒ scalikejdbc.SQLInterpolation.SQLSyntax, merge: (Entity, Seq[M2]) ⇒ Entity): HasManyAssociation[Entity]

    Definition Classes
    AssociationsFeature
  80. def hasManyThrough[M2](through: AssociationsFeature[_], many: AssociationsFeature[M2], merge: (Entity, Seq[M2]) ⇒ Entity): HasManyAssociation[Entity]

    Definition Classes
    AssociationsFeature
  81. def hasManyThroughWithFk[M2](through: AssociationsFeature[_], many: AssociationsFeature[M2], throughFk: String, manyFk: String, merge: (Entity, Seq[M2]) ⇒ Entity): HasManyAssociation[Entity]

    Definition Classes
    AssociationsFeature
  82. def hasOne[A](right: AssociationsFeature[A], merge: (Entity, Option[A]) ⇒ Entity): HasOneAssociation[Entity]

    Definition Classes
    AssociationsFeature
  83. def hasOneWithAlias[A](right: (AssociationsFeature[A], Alias[A]), merge: (Entity, Option[A]) ⇒ Entity): HasOneAssociation[Entity]

    Definition Classes
    AssociationsFeature
  84. def hasOneWithAliasAndFk[A](right: (AssociationsFeature[A], Alias[A]), fk: String, merge: (Entity, Option[A]) ⇒ Entity): HasOneAssociation[Entity]

    Definition Classes
    AssociationsFeature
  85. def hasOneWithAliasAndFkAndJoinCondition[A](right: (AssociationsFeature[A], Alias[A]), fk: String, on: scalikejdbc.SQLInterpolation.SQLSyntax, merge: (Entity, Option[A]) ⇒ Entity): HasOneAssociation[Entity]

    Definition Classes
    AssociationsFeature
  86. def hasOneWithAliasAndJoinCondition[A](right: (AssociationsFeature[A], Alias[A]), on: scalikejdbc.SQLInterpolation.SQLSyntax, merge: (Entity, Option[A]) ⇒ Entity): HasOneAssociation[Entity]

    Definition Classes
    AssociationsFeature
  87. def hasOneWithFk[A](right: AssociationsFeature[A], fk: String, merge: (Entity, Option[A]) ⇒ Entity): HasOneAssociation[Entity]

    Definition Classes
    AssociationsFeature
  88. def hasOneWithFkAndJoinCondition[A](right: AssociationsFeature[A], fk: String, on: scalikejdbc.SQLInterpolation.SQLSyntax, merge: (Entity, Option[A]) ⇒ Entity): HasOneAssociation[Entity]

    Definition Classes
    AssociationsFeature
  89. def hasOneWithJoinCondition[A](right: AssociationsFeature[A], on: scalikejdbc.SQLInterpolation.SQLSyntax, merge: (Entity, Option[A]) ⇒ Entity): HasOneAssociation[Entity]

    Definition Classes
    AssociationsFeature
  90. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  91. def includes(associations: Association[_]*): IncludesFeatureWithId[Id, Entity] with FinderFeatureWithId[Id, Entity] with QueryingFeatureWithId[Id, Entity]

    Adds includes conditions.

    Adds includes conditions.

    associations

    associations

    returns

    extended self

    Definition Classes
    IncludesFeatureWithId
  92. def info(msg: ⇒ Any, t: ⇒ Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  93. def info(msg: ⇒ Any): Unit

    Attributes
    protected
    Definition Classes
    Logging
  94. def innerJoin[Left](left: (AssociationsFeature[Left], Alias[Left]), right: (AssociationsFeature[_], Alias[_]), on: (Alias[Left], Alias[_]) ⇒ scalikejdbc.SQLInterpolation.SQLSyntax): JoinDefinition[Entity]

    Definition Classes
    AssociationsFeature
  95. def innerJoin(right: (AssociationsFeature[_], Alias[_]), on: (Alias[Entity], Alias[_]) ⇒ scalikejdbc.SQLInterpolation.SQLSyntax): JoinDefinition[Entity]

    Definition Classes
    AssociationsFeature
  96. def innerJoinWithDefaults[Left](left: AssociationsFeature[Left], right: AssociationsFeature[_], on: (Alias[Left], Alias[_]) ⇒ scalikejdbc.SQLInterpolation.SQLSyntax): JoinDefinition[Entity]

    Definition Classes
    AssociationsFeature
  97. def innerJoinWithDefaults(right: AssociationsFeature[_], on: (Alias[Entity], Alias[Any]) ⇒ scalikejdbc.SQLInterpolation.SQLSyntax): JoinDefinition[Entity]

    Definition Classes
    AssociationsFeature
  98. def innerJoinWithDefaults(right: AssociationsFeature[_], on: scalikejdbc.SQLInterpolation.SQLSyntax): JoinDefinition[Entity]

    Definition Classes
    AssociationsFeature
  99. def isDebugEnabled: Boolean

    Attributes
    protected
    Definition Classes
    Logging
  100. def isErrorEnabled: Boolean

    Attributes
    protected
    Definition Classes
    Logging
  101. def isInfoEnabled: Boolean

    Attributes
    protected
    Definition Classes
    Logging
  102. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  103. def isTraceEnabled: Boolean

    Attributes
    protected
    Definition Classes
    Logging
  104. def isValidFieldName(name: String): Boolean

    Predicates the field name is valid.

    Predicates the field name is valid.

    Definition Classes
    SkinnyMapperBase
  105. def isWarnEnabled: Boolean

    Attributes
    protected
    Definition Classes
    Logging
  106. def join[Left](left: (AssociationsFeature[Left], Alias[Left]), right: (AssociationsFeature[_], Alias[_]), on: (Alias[Left], Alias[_]) ⇒ scalikejdbc.SQLInterpolation.SQLSyntax): JoinDefinition[Entity]

    Definition Classes
    AssociationsFeature
  107. def join(right: (AssociationsFeature[_], Alias[_]), on: (Alias[Entity], Alias[_]) ⇒ scalikejdbc.SQLInterpolation.SQLSyntax): JoinDefinition[Entity]

    Definition Classes
    AssociationsFeature
  108. def joinWithDefaults[Left](left: AssociationsFeature[Left], right: AssociationsFeature[_], on: (Alias[Left], Alias[_]) ⇒ scalikejdbc.SQLInterpolation.SQLSyntax): JoinDefinition[Entity]

    Definition Classes
    AssociationsFeature
  109. def joinWithDefaults(right: AssociationsFeature[_], on: (Alias[Entity], Alias[Any]) ⇒ scalikejdbc.SQLInterpolation.SQLSyntax): JoinDefinition[Entity]

    Definition Classes
    AssociationsFeature
  110. def joinWithDefaults(right: AssociationsFeature[_], on: scalikejdbc.SQLInterpolation.SQLSyntax): JoinDefinition[Entity]

    Definition Classes
    AssociationsFeature
  111. def joins[Id](associations: Association[_]*): JoinsFeature[Entity] with IdFeature[Id] with FinderFeatureWithId[Id, Entity] with QueryingFeatureWithId[Id, Entity]

    Appends join definition on runtime.

    Appends join definition on runtime.

    associations

    associations

    returns

    self

    Definition Classes
    JoinsFeature
  112. def leftJoin(left: (AssociationsFeature[_], Alias[_]), right: (AssociationsFeature[_], Alias[_]), on: (Alias[_], Alias[_]) ⇒ scalikejdbc.SQLInterpolation.SQLSyntax): JoinDefinition[_]

    Definition Classes
    AssociationsFeature
  113. def leftJoin(right: (AssociationsFeature[_], Alias[_]), on: (Alias[Entity], Alias[_]) ⇒ scalikejdbc.SQLInterpolation.SQLSyntax): JoinDefinition[_]

    Definition Classes
    AssociationsFeature
  114. def leftJoinWithDefaults(left: AssociationsFeature[_], right: AssociationsFeature[_], on: (Alias[_], Alias[_]) ⇒ scalikejdbc.SQLInterpolation.SQLSyntax): JoinDefinition[_]

    Definition Classes
    AssociationsFeature
  115. def leftJoinWithDefaults(right: AssociationsFeature[_], on: (Alias[Entity], Alias[Any]) ⇒ scalikejdbc.SQLInterpolation.SQLSyntax): JoinDefinition[_]

    Definition Classes
    AssociationsFeature
  116. def leftJoinWithDefaults(right: AssociationsFeature[_], on: scalikejdbc.SQLInterpolation.SQLSyntax): JoinDefinition[_]

    Definition Classes
    AssociationsFeature
  117. def limit(n: Int): EntitiesSelectOperationBuilder

    Appends limit part.

    Appends limit part.

    n

    value

    returns

    query builder

    Definition Classes
    QueryingFeatureWithId
  118. def logger: Logger

    Attributes
    protected
    Definition Classes
    Logging
  119. def loggerName: String

    Attributes
    protected
    Definition Classes
    Logging
  120. def nameConverters: Map[String, String]

    Definition Classes
    SQLSyntaxSupport
  121. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  122. final def notify(): Unit

    Definition Classes
    AnyRef
  123. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  124. def offset(n: Int): EntitiesSelectOperationBuilder

    Appends offset part.

    Appends offset part.

    n

    value

    returns

    query builder

    Definition Classes
    QueryingFeatureWithId
  125. def paginate(pagination: Pagination): EntitiesSelectOperationBuilder

    Appends pagination settings as limit/offset.

    Appends pagination settings as limit/offset.

    pagination

    pagination

    returns

    query buildder

    Definition Classes
    QueryingFeatureWithId
  126. def primaryKeyField: scalikejdbc.SQLInterpolation.SQLSyntax

    Definition Classes
    SkinnyMapperBase
  127. def primaryKeyFieldName: String

    Returns primary key name.

    Returns primary key name. (default: "id") Notice: Not a column name but field name. For example, not "first_name" but "firstName"

    Definition Classes
    SkinnyMapperBase
  128. def schemaName: Option[String]

    Definition Classes
    SQLSyntaxSupport
  129. def selectQueryWithAdditionalAssociations(sql: scalikejdbc.SQLInterpolation.SelectSQLBuilder[Entity], belongsToAssociations: Seq[BelongsToAssociation[Entity]], hasOneAssociations: Seq[HasOneAssociation[Entity]], hasManyAssociations: Seq[HasManyAssociation[Entity]]): scalikejdbc.SQLInterpolation.SelectSQLBuilder[Entity]

    Returns a select query builder that all associations are joined.

    Returns a select query builder that all associations are joined.

    sql

    sql object

    belongsToAssociations

    belongsTo associations

    hasOneAssociations

    hasOne associations

    hasManyAssociations

    hasMany associations

    returns

    select query builder

    Definition Classes
    AssociationsFeature
  130. def selectQueryWithAssociations: scalikejdbc.SQLInterpolation.SelectSQLBuilder[Entity]

    Definition Classes
    IncludesFeatureWithIdJoinsFeature
  131. def setAsByDefault(extractor: HasManyExtractor[Entity]): Unit

    Definition Classes
    AssociationsFeature
  132. def setAsByDefault(extractor: HasOneExtractor[Entity]): Unit

    Definition Classes
    AssociationsFeature
  133. def setAsByDefault(extractor: BelongsToExtractor[Entity]): Unit

    Definition Classes
    AssociationsFeature
  134. def singleSelectQuery: scalikejdbc.SQLInterpolation.SelectSQLBuilder[Entity]

    Returns select query builder object to simply fetch rows without other joined tables.

    Returns select query builder object to simply fetch rows without other joined tables.

    Attributes
    protected
    Definition Classes
    SkinnyMapperBase
  135. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  136. def syntax(name: String): scalikejdbc.SQLInterpolation.QuerySQLSyntaxProvider[scalikejdbc.SQLInterpolation.SQLSyntaxSupport[Entity], Entity]

    Definition Classes
    SQLSyntaxSupport
  137. def syntax: scalikejdbc.SQLInterpolation.QuerySQLSyntaxProvider[scalikejdbc.SQLInterpolation.SQLSyntaxSupport[Entity], Entity]

    Definition Classes
    SQLSyntaxSupport
  138. def table: scalikejdbc.SQLInterpolation.TableDefSQLSyntax

    Definition Classes
    SQLSyntaxSupport
  139. def tableName: String

    Returns table name.

    Returns table name.

    Definition Classes
    SkinnyMapperBase → SQLSyntaxSupport
  140. def tableNameWithSchema: String

    Definition Classes
    SQLSyntaxSupport
  141. def toDefaultForeignKeyName[A](mapper: AssociationsFeature[A]): String

    Expects mapper's name + "Id" by default.

    Expects mapper's name + "Id" by default.

    A

    enitty type

    mapper

    mapper

    returns

    fk name

    Attributes
    protected
    Definition Classes
    AssociationsFeature
  142. def toString(): String

    Definition Classes
    AnyRef → Any
  143. def trace(msg: ⇒ Any, t: ⇒ Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  144. def trace(msg: ⇒ Any): Unit

    Attributes
    protected
    Definition Classes
    Logging
  145. def underlying: SkinnyMapperBase[Entity]

    Attributes
    protected
    Definition Classes
    SkinnyMapperBase
  146. def useAutoIncrementPrimaryKey: Boolean

    Primary key should be Database's auto-increment value if true.

    Primary key should be Database's auto-increment value if true.

    Definition Classes
    IdFeature
  147. def useExternalIdGenerator: Boolean

    Primary key generation should be done by #generateNewId if true.

    Primary key generation should be done by #generateNewId if true.

    Definition Classes
    IdFeature
  148. def useShortenedResultName: Boolean

    Definition Classes
    SQLSyntaxSupport
  149. def useSnakeCaseColumnName: Boolean

    Definition Classes
    SQLSyntaxSupport
  150. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  151. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  152. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  153. def warn(msg: ⇒ Any, t: ⇒ Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  154. def warn(msg: ⇒ Any): Unit

    Attributes
    protected
    Definition Classes
    Logging
  155. def where(condition: scalikejdbc.SQLInterpolation.SQLSyntax): EntitiesSelectOperationBuilder

    Appends a raw where condition.

    Appends a raw where condition.

    condition
    returns

    query builder

    Definition Classes
    QueryingFeatureWithId
  156. def where(conditions: (Symbol, Any)*): EntitiesSelectOperationBuilder

    Appends where conditions.

    Appends where conditions.

    conditions
    returns

    query builder

    Definition Classes
    QueryingFeatureWithId
  157. def withAlias[A](name: String)(op: (Alias[Entity]) ⇒ A): A

    Provides a code block with a table alias.

    Provides a code block with a table alias.

    Definition Classes
    SkinnyMapperBase
  158. def withAlias[A](op: (Alias[Entity]) ⇒ A): A

    Provides a code block with a table alias.

    Provides a code block with a table alias.

    Definition Classes
    SkinnyMapperBase
  159. def withColumns[A](op: (scalikejdbc.SQLInterpolation.ColumnName[Entity]) ⇒ A): A

    Provides a code block with the column name provider.

    Provides a code block with the column name provider.

    Definition Classes
    SkinnyMapperBase
  160. def withTableName(tableName: String): DynamicTableNameFeatureWithId[Id, Entity] with FinderFeatureWithId[Id, Entity] with QueryingFeatureWithId[Id, Entity]

    Appends join definition on runtime.

    Appends join definition on runtime.

    tableName

    table name

    returns

    self

    Definition Classes
    DynamicTableNameFeatureWithId

Deprecated Value Members

  1. def findAllByPaging(where: scalikejdbc.SQLInterpolation.SQLSyntax, limit: Int = 100, offset: Int = 0, orderings: Seq[scalikejdbc.SQLInterpolation.SQLSyntax] = ...)(implicit s: DBSession = autoSession): List[Entity]

    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) Use #findAllByWithLimitOffset or #findAllByWithPagination instead. This method will be removed since version 1.1.0.

  2. def findAllPaging(limit: Int = 100, offset: Int = 0, orderings: Seq[scalikejdbc.SQLInterpolation.SQLSyntax] = Seq(defaultOrdering))(implicit s: DBSession = autoSession): List[Entity]

    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) Use #findAllWithLimitOffset or #findAllWithPagination instead. This method will be removed since version 1.1.0.

Inherited from QueryingFeatureWithId[Id, Entity]

Inherited from IncludesFeatureWithId[Id, Entity]

Inherited from JoinsFeature[Entity]

Inherited from SkinnyMapperWithId[Id, Entity]

Inherited from StrongParametersFeature

Inherited from DynamicTableNameFeatureWithId[Id, Entity]

Inherited from IdFeature[Id]

Inherited from AssociationsFeature[Entity]

Inherited from Logging

Inherited from AutoSessionFeature

Inherited from ConnectionPoolFeature

Inherited from SkinnyMapperBase[Entity]

Inherited from scalikejdbc.SQLInterpolation.SQLSyntaxSupport[Entity]

Inherited from AnyRef

Inherited from Any

Ungrouped