Trait

skinny.orm.feature

FinderFeatureWithId

Related Doc: package feature

Permalink

trait FinderFeatureWithId[Id, Entity] extends SkinnyMapperBase[Entity] with NoIdFinderFeature[Entity] with ConnectionPoolFeature with AutoSessionFeature with AssociationsFeature[Entity] with JoinsFeature[Entity] with IdFeature[Id] with IncludesFeatureWithId[Id, Entity]

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FinderFeatureWithId
  2. IncludesFeatureWithId
  3. IdFeature
  4. JoinsFeature
  5. NoIdFinderFeature
  6. CalculationFeature
  7. AssociationsFeature
  8. LoggerProvider
  9. AutoSessionFeature
  10. ConnectionPoolFeature
  11. SkinnyMapperBase
  12. SQLSyntaxSupport
  13. AnyRef
  14. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def defaultAlias: Alias[Entity]

    Permalink

    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 extract(rs: WrappedResultSet, n: scalikejdbc.ResultName[Entity]): Entity

    Permalink

    Extracts entity from ResultSet.

    Extracts entity from ResultSet.

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

    Permalink

    Returns actual value from identity value.

    Returns actual value from identity value.

    id

    identity

    returns

    actual value

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

    Permalink

    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: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. def appendIncludedAttributes(entity: Option[Entity])(implicit s: DBSession, repository: IncludesQueryRepository[Entity]): Option[Entity]

    Permalink

    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
  5. def appendIncludedAttributes(entities: List[Entity])(implicit s: DBSession, repository: IncludesQueryRepository[Entity]): List[Entity]

    Permalink

    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
  6. def apply(rs: WrappedResultSet): Entity

    Permalink

    Extracts entity from ResultSet.

    Extracts entity from ResultSet.

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

    Permalink

    Extracts entity from ResultSet.

    Extracts entity from ResultSet.

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

    Permalink
    Definition Classes
    SQLSyntaxSupport
  9. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  10. val associations: LinkedHashSet[Association[_]]

    Permalink

    Associations

    Associations

    Definition Classes
    AssociationsFeature
  11. def autoSession: DBSession

    Permalink

    AutoSession definition.

    AutoSession definition.

    Definition Classes
    AutoSessionFeature
  12. def average(fieldName: Symbol, decimals: Option[Int] = None)(implicit s: DBSession = autoSession): BigDecimal

    Permalink

    Calculates average of a column.

    Calculates average of a column.

    Definition Classes
    CalculationFeature
  13. def avg(fieldName: Symbol, decimals: Option[Int] = None)(implicit s: DBSession = autoSession): BigDecimal

    Permalink
    Definition Classes
    CalculationFeature
  14. def belongsTo[A](right: AssociationsWithIdFeature[_, A], merge: (Entity, Option[A]) ⇒ Entity): BelongsToAssociation[Entity]

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

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

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

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

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

    Permalink
    Definition Classes
    AssociationsFeature
  20. def belongsToWithJoinCondition[A](right: AssociationsWithIdFeature[_, A], on: scalikejdbc.SQLSyntax, merge: (Entity, Option[A]) ⇒ Entity): BelongsToAssociation[Entity]

    Permalink
    Definition Classes
    AssociationsFeature
  21. def calculate(sql: scalikejdbc.SQLSyntax)(implicit s: DBSession = autoSession): BigDecimal

    Permalink

    Calculates rows.

    Calculates rows.

    Definition Classes
    CalculationFeature
  22. def clearLoadedColumns(): Unit

    Permalink
    Definition Classes
    SQLSyntaxSupport
  23. def clone(): AnyRef

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

    Permalink
    Definition Classes
    SQLSyntaxSupport
  25. def columnNames: Seq[String]

    Permalink

    Returns column names.

    Returns column names.

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

    Permalink
    Definition Classes
    SQLSyntaxSupport
  27. def connectionPool: ConnectionPool

    Permalink

    Returns connection pool.

    Returns connection pool.

    returns

    pool

    Definition Classes
    ConnectionPoolFeature
  28. def connectionPoolName: Any

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

    Permalink

    Returns actual value from identity value.

    Returns actual value from identity value.

    A

    actual value type

    id

    identity

    returns

    actual value

    Definition Classes
    IdFeature
  30. def count(fieldName: Symbol = Symbol(""), distinct: Boolean = false)(implicit s: DBSession = autoSession): Long

    Permalink

    Count only.

    Count only.

    Definition Classes
    CalculationFeature
  31. def countBy(where: scalikejdbc.SQLSyntax)(implicit s: DBSession = autoSession): Long

    Permalink

    Counts all rows by condition.

    Counts all rows by condition.

    Definition Classes
    NoIdFinderFeature
  32. def createAlias(name: String): Alias[Entity]

    Permalink

    Creates a new table alias for this mapper.

    Creates a new table alias for this mapper.

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

    Permalink

    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
  34. val defaultBelongsToExtractors: LinkedHashSet[BelongsToExtractor[Entity]]

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

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

    Permalink

    Join definitions that are enabled by default.

    Join definitions that are enabled by default.

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

    Permalink
    Definition Classes
    AssociationsFeature
  38. def defaultOrdering: scalikejdbc.SQLSyntax

    Permalink

    Default ordering condition.

    Default ordering condition.

    Definition Classes
    FinderFeatureWithIdNoIdFinderFeature
  39. def defaultOrderings: Seq[scalikejdbc.SQLSyntax]

    Permalink
    Definition Classes
    NoIdFinderFeature
  40. def defaultScope(alias: Alias[Entity]): Option[scalikejdbc.SQLSyntax]

    Permalink

    Returns default scope for select queries.

    Returns default scope for select queries.

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

    Permalink
    Definition Classes
    SkinnyMapperBase
  42. def defaultSelectQuery: scalikejdbc.SelectSQLBuilder[Entity]

    Permalink

    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
  43. def delimiterForResultName: String

    Permalink
    Definition Classes
    SQLSyntaxSupport
  44. def distinctCount(fieldName: Symbol = Symbol(primaryKeyFieldName))(implicit s: DBSession = autoSession): Long

    Permalink

    Counts distinct rows.

    Counts distinct rows.

    Definition Classes
    CalculationFeature
  45. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  47. def extract(sql: SQL[Entity, NoExtractor])(implicit includesRepository: IncludesQueryRepository[Entity]): SQL[Entity, HasExtractor]

    Permalink
    Definition Classes
    JoinsFeatureAssociationsFeature
  48. 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]

    Permalink
    Definition Classes
    AssociationsFeature
  49. 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]

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

    Permalink

    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
  51. 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]

    Permalink

    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
  52. def extractWithOneToOneTables(rs: WrappedResultSet, belongsToExtractors: Set[BelongsToExtractor[Entity]], hasOneExtractors: Set[HasOneExtractor[Entity]])(implicit includesRepository: IncludesQueryRepository[Entity]): Entity

    Permalink

    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
  53. def finalize(): Unit

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

    Permalink

    Finds all entities.

    Finds all entities.

    Definition Classes
    FinderFeatureWithIdNoIdFinderFeature
  55. def findAllBy(where: scalikejdbc.SQLSyntax, orderings: Seq[scalikejdbc.SQLSyntax] = defaultOrderings)(implicit s: DBSession = autoSession): List[Entity]

    Permalink

    Finds all entities by condition.

    Finds all entities by condition.

    Definition Classes
    FinderFeatureWithIdNoIdFinderFeature
  56. def findAllByIds(ids: Id*)(implicit s: DBSession = autoSession): List[Entity]

    Permalink

    Finds all entities by several primary keys.

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

    Permalink

    Finds all entities by condition and with pagination.

    Finds all entities by condition and with pagination.

    Definition Classes
    FinderFeatureWithIdNoIdFinderFeature
  58. def findAllByWithLimitOffsetForOneToManyRelations(where: scalikejdbc.SQLSyntax, limit: Int = 100, offset: Int = 0, orderings: Seq[scalikejdbc.SQLSyntax] = defaultOrderings)(implicit s: DBSession = autoSession): List[Entity]

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

    Permalink

    Finds all entities by condition and with pagination.

    Finds all entities by condition and with pagination.

    Definition Classes
    NoIdFinderFeature
  60. def findAllWithLimitOffset(limit: Int = 100, offset: Int = 0, orderings: Seq[scalikejdbc.SQLSyntax] = defaultOrderings)(implicit s: DBSession = autoSession): List[Entity]

    Permalink

    Finds all entities with pagination.

    Finds all entities with pagination.

    Definition Classes
    FinderFeatureWithIdNoIdFinderFeature
  61. def findAllWithLimitOffsetForOneToManyRelations(limit: Int = 100, offset: Int = 0, orderings: Seq[scalikejdbc.SQLSyntax] = defaultOrderings)(implicit s: DBSession = autoSession): List[Entity]

    Permalink
  62. def findAllWithPagination(pagination: Pagination, orderings: Seq[scalikejdbc.SQLSyntax] = defaultOrderings)(implicit s: DBSession = autoSession): List[Entity]

    Permalink

    Finds all entities with pagination.

    Finds all entities with pagination.

    Definition Classes
    FinderFeatureWithIdNoIdFinderFeature
  63. def findBy(where: scalikejdbc.SQLSyntax)(implicit s: DBSession = autoSession): Option[Entity]

    Permalink

    Finds an entity by condition.

    Finds an entity by condition.

    Definition Classes
    FinderFeatureWithIdNoIdFinderFeature
  64. def findById(id: Id)(implicit s: DBSession = autoSession): Option[Entity]

    Permalink

    Finds a single entity by primary key.

  65. def forceUpperCase: Boolean

    Permalink
    Definition Classes
    SQLSyntaxSupport
  66. def generateId: Id

    Permalink

    Generates auto-generated new Id.

    Generates auto-generated new Id.

    returns

    id

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

    Permalink
    Definition Classes
    AnyRef → Any
  68. def hasMany[M](many: (AssociationsFeature[M], Alias[M]), on: (Alias[Entity], Alias[M]) ⇒ scalikejdbc.SQLSyntax, merge: (Entity, Seq[M]) ⇒ Entity): HasManyAssociation[Entity]

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

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

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

    Permalink
    Definition Classes
    AssociationsFeature
  72. def hasManyWithFk[M](many: (AssociationsFeature[M], Alias[M]), fk: String, on: (Alias[Entity], Alias[M]) ⇒ scalikejdbc.SQLSyntax, merge: (Entity, Seq[M]) ⇒ Entity): HasManyAssociation[Entity]

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AssociationsFeature
  81. def hashCode(): Int

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

    Permalink

    Adds includes conditions.

    Adds includes conditions.

    associations

    associations

    returns

    extended self

    Definition Classes
    IncludesFeatureWithId
  83. def innerJoin[Left](left: (AssociationsFeature[Left], Alias[Left]), right: (AssociationsFeature[_], Alias[_]), on: (Alias[Left], Alias[_]) ⇒ scalikejdbc.SQLSyntax): JoinDefinition[Entity]

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

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

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

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

    Permalink
    Definition Classes
    AssociationsFeature
  88. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  89. def isValidFieldName(name: String): Boolean

    Permalink

    Predicates the field name is valid.

    Predicates the field name is valid.

    Definition Classes
    SkinnyMapperBase
  90. def join[Left](left: (AssociationsFeature[Left], Alias[Left]), right: (AssociationsFeature[_], Alias[_]), on: (Alias[Left], Alias[_]) ⇒ scalikejdbc.SQLSyntax): JoinDefinition[Entity]

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

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

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

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

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

    Permalink

    Appends join definition on runtime.

    Appends join definition on runtime.

    associations

    associations

    returns

    self

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

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

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

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

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

    Permalink
    Definition Classes
    AssociationsFeature
  101. def logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    LoggerProvider
  102. def loggerName: String

    Permalink
    Attributes
    protected
    Definition Classes
    LoggerProvider
  103. def max(fieldName: Symbol)(implicit s: DBSession = autoSession): BigDecimal

    Permalink
    Definition Classes
    CalculationFeature
  104. def maximum(fieldName: Symbol)(implicit s: DBSession = autoSession): BigDecimal

    Permalink

    Calculates minimum value of a column.

    Calculates minimum value of a column.

    Definition Classes
    CalculationFeature
  105. def min(fieldName: Symbol)(implicit s: DBSession = autoSession): BigDecimal

    Permalink
    Definition Classes
    CalculationFeature
  106. def minimum(fieldName: Symbol)(implicit s: DBSession = autoSession): BigDecimal

    Permalink

    Calculates minimum value of a column.

    Calculates minimum value of a column.

    Definition Classes
    CalculationFeature
  107. def nameConverters: Map[String, String]

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

    Permalink
    Definition Classes
    AnyRef
  109. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  110. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  111. def primaryKeyField: scalikejdbc.SQLSyntax

    Permalink
    Definition Classes
    SkinnyMapperBase
  112. def primaryKeyFieldName: String

    Permalink

    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
  113. def schemaName: Option[String]

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

    Permalink

    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
  115. def selectQueryWithAssociations: scalikejdbc.SelectSQLBuilder[Entity]

    Permalink
  116. def setAsByDefault(extractor: HasManyExtractor[Entity]): Unit

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

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

    Permalink
    Definition Classes
    AssociationsFeature
  119. def settings: SettingsProvider

    Permalink
    Attributes
    protected[this]
    Definition Classes
    SQLSyntaxSupport
  120. def singleSelectQuery: scalikejdbc.SelectSQLBuilder[Entity]

    Permalink

    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.

    Definition Classes
    SkinnyMapperBase
  121. def sum(fieldName: Symbol)(implicit s: DBSession = autoSession): BigDecimal

    Permalink

    Calculates sum of a column.

    Calculates sum of a column.

    Definition Classes
    CalculationFeature
  122. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    SQLSyntaxSupport
  124. def syntax: scalikejdbc.QuerySQLSyntaxProvider[scalikejdbc.SQLSyntaxSupport[Entity], Entity]

    Permalink
    Definition Classes
    SQLSyntaxSupport
  125. def table: scalikejdbc.TableDefSQLSyntax

    Permalink
    Definition Classes
    SQLSyntaxSupport
  126. def tableName: String

    Permalink

    Returns table name.

    Returns table name.

    Definition Classes
    SkinnyMapperBase → SQLSyntaxSupport
  127. def tableNameWithSchema: String

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

    Permalink

    Expects mapper's name + primary key name by default.

    Expects mapper's name + primary key name by default.

    A

    entity type

    mapper

    mapper

    returns

    fk name

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

    Permalink
    Definition Classes
    AnyRef → Any
  130. def underlying: SkinnyMapperBase[Entity]

    Permalink
    Attributes
    protected
    Definition Classes
    SkinnyMapperBase
  131. def useAutoIncrementPrimaryKey: Boolean

    Permalink

    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
  132. def useExternalIdGenerator: Boolean

    Permalink

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

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

    Definition Classes
    IdFeature
  133. def useShortenedResultName: Boolean

    Permalink
    Definition Classes
    SQLSyntaxSupport
  134. def useSnakeCaseColumnName: Boolean

    Permalink
    Definition Classes
    SQLSyntaxSupport
  135. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  138. def withAlias[A](name: String)(op: (Alias[Entity]) ⇒ A): A

    Permalink

    Provides a code block with a table alias.

    Provides a code block with a table alias.

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

    Permalink

    Provides a code block with a table alias.

    Provides a code block with a table alias.

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

    Permalink

    Provides a code block with the column name provider.

    Provides a code block with the column name provider.

    Definition Classes
    SkinnyMapperBase

Inherited from IncludesFeatureWithId[Id, Entity]

Inherited from IdFeature[Id]

Inherited from JoinsFeature[Entity]

Inherited from NoIdFinderFeature[Entity]

Inherited from CalculationFeature[Entity]

Inherited from AssociationsFeature[Entity]

Inherited from LoggerProvider

Inherited from AutoSessionFeature

Inherited from ConnectionPoolFeature

Inherited from SkinnyMapperBase[Entity]

Inherited from scalikejdbc.SQLSyntaxSupport[Entity]

Inherited from AnyRef

Inherited from Any

Ungrouped