skinny.orm

SkinnyNoIdMapper

trait SkinnyNoIdMapper[Entity] extends SkinnyMapperBase[Entity] with ConnectionPoolFeature with AutoSessionFeature with NoIdFinderFeature[Entity] with NoIdQueryingFeature[Entity] with NoIdAssociationsFeature[Entity] with StrongParametersFeature

Basic mapper for tables that don't have single primary key.

Entity

entity

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SkinnyNoIdMapper
  2. StrongParametersFeature
  3. NoIdQueryingFeature
  4. NoIdAssociationsFeature
  5. NoIdJoinsFeature
  6. NoIdFinderFeature
  7. CalculationFeature
  8. AssociationsFeature
  9. Logging
  10. AutoSessionFeature
  11. ConnectionPoolFeature
  12. SkinnyMapperBase
  13. SQLSyntaxSupport
  14. AnyRef
  15. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. case class EntitiesSelectOperationBuilder(mapper: NoIdQueryingFeature[Entity], conditions: Seq[scalikejdbc.SQLSyntax] = Nil, orderings: Seq[scalikejdbc.SQLSyntax] = Nil, limit: Option[Int] = None, offset: Option[Int] = None) extends SelectOperationBuilder with CalculationFeature[Entity] with Product with Serializable

    Entities finder builder.

    Entities finder builder.

    mapper

    mapper

    conditions

    registered conditions

    limit

    limit

    offset

    offset

    Definition Classes
    NoIdQueryingFeature
  2. abstract class SelectOperationBuilder extends AnyRef

    Select query builder.

    Select query builder.

    Definition Classes
    NoIdQueryingFeature

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

    Extracts entity from ResultSet.

    Extracts entity from ResultSet.

    Definition Classes
    SkinnyMapperBase

Concrete Value Members

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

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

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

    Definition Classes
    AnyRef → Any
  4. def apply(rs: WrappedResultSet): Entity

    Extracts entity from ResultSet.

    Extracts entity from ResultSet.

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

    Extracts entity from ResultSet.

    Extracts entity from ResultSet.

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

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

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

    Associations

    Associations

    Definition Classes
    AssociationsFeature
  9. def autoSession: DBSession

    AutoSession definition.

    AutoSession definition.

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

    Calculates average of a column.

    Calculates average of a column.

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

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

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

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

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

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

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

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

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

    Calculates rows.

    Calculates rows.

    Definition Classes
    CalculationFeature
  20. def clearLoadedColumns(): Unit

    Definition Classes
    SQLSyntaxSupport
  21. def clone(): AnyRef

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

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

    Returns column names.

    Returns column names.

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

    Definition Classes
    SQLSyntaxSupport
  25. def connectionPool: ConnectionPool

    Returns connection pool.

    Returns connection pool.

    returns

    pool

    Definition Classes
    ConnectionPoolFeature
  26. def connectionPoolName: Any

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

    Count only.

    Count only.

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

    Counts all rows by condition.

    Counts all rows by condition.

    Definition Classes
    NoIdFinderFeature
  29. 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
  30. def createJoinDefinition(joinType: JoinType, left: (AssociationsFeature[_], Alias[_]), right: (AssociationsFeature[_], Alias[_]), on: scalikejdbc.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
  31. def debug(msg: ⇒ Any, t: ⇒ Throwable): Unit

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

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

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

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

    Join definitions that are enabled by default.

    Join definitions that are enabled by default.

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

    Definition Classes
    AssociationsFeature
  37. def defaultOrdering: scalikejdbc.SQLSyntax

    Default ordering condition.

    Default ordering condition. NOTE: sqls"" means empty to be compatible with 1.0 API.

    Definition Classes
    NoIdFinderFeature
  38. def defaultOrderings: Seq[scalikejdbc.SQLSyntax]

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

    Returns default scope for select queries.

    Returns default scope for select queries.

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

    Definition Classes
    SkinnyMapperBase
  41. def defaultSelectQuery: scalikejdbc.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
  42. def delimiterForResultName: String

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

    Counts distinct rows.

    Counts distinct rows.

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

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

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

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

    Attributes
    protected
    Definition Classes
    Logging
  48. def extract(sql: SQL[Entity, NoExtractor])(implicit includesRepository: IncludesQueryRepository[Entity]): SQL[Entity, HasExtractor]

    Definition Classes
    NoIdJoinsFeatureAssociationsFeature
  49. 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
  50. 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
  51. 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
  52. 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
  53. 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
  54. 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
  55. def finalize(): Unit

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

    Finds all entities.

    Finds all entities.

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

    Finds all entities by condition.

    Finds all entities by condition.

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

    Finds all entities by condition and with pagination.

    Finds all entities by condition and with pagination.

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

    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]

    Finds all entities with pagination.

    Finds all entities with pagination.

    Definition Classes
    NoIdFinderFeature
  61. def findAllWithPagination(pagination: Pagination, orderings: Seq[scalikejdbc.SQLSyntax] = defaultOrderings)(implicit s: DBSession = autoSession): List[Entity]

    Finds all entities with pagination.

    Finds all entities with pagination.

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

    Finds an entity by condition.

    Finds an entity by condition.

    Definition Classes
    NoIdFinderFeature
  63. def forceUpperCase: Boolean

    Definition Classes
    SQLSyntaxSupport
  64. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  65. 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
  66. def hasMany[M](many: (AssociationsWithIdFeature[_, M], Alias[M]), on: (Alias[Entity], Alias[M]) ⇒ scalikejdbc.SQLSyntax, merge: (Entity, Seq[M]) ⇒ Entity): HasManyAssociation[Entity]

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

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

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

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

    Definition Classes
    SkinnyNoIdMapperAssociationsFeature
  71. def hasOneWithAlias[A](right: (AssociationsWithIdFeature[_, A], Alias[A]), merge: (Entity, Option[A]) ⇒ Entity): HasOneAssociation[Entity]

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

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

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

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

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

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

    Definition Classes
    AssociationsFeature
  78. def hashCode(): Int

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

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

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

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

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

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

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

    Definition Classes
    AssociationsFeature
  86. def isDebugEnabled: Boolean

    Attributes
    protected
    Definition Classes
    Logging
  87. def isErrorEnabled: Boolean

    Attributes
    protected
    Definition Classes
    Logging
  88. def isInfoEnabled: Boolean

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

    Definition Classes
    Any
  90. def isTraceEnabled: Boolean

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

    Predicates the field name is valid.

    Predicates the field name is valid.

    Definition Classes
    SkinnyMapperBase
  92. def isWarnEnabled: Boolean

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

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

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

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

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

    Definition Classes
    AssociationsFeature
  98. def joins(associations: Association[_]*): NoIdJoinsFeature[Entity] with NoIdFinderFeature[Entity] with NoIdQueryingFeature[Entity]

    Appends join definition on runtime.

    Appends join definition on runtime.

    associations

    associations

    returns

    self

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

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

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

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

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

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

    Appends limit part.

    Appends limit part.

    n

    value

    returns

    query builder

    Definition Classes
    NoIdQueryingFeature
  105. def logger: Logger

    Attributes
    protected
    Definition Classes
    Logging
  106. def loggerName: String

    Attributes
    protected
    Definition Classes
    Logging
  107. def max(fieldName: Symbol)(implicit s: DBSession = autoSession): BigDecimal

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

    Calculates minimum value of a column.

    Calculates minimum value of a column.

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

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

    Calculates minimum value of a column.

    Calculates minimum value of a column.

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

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

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

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

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

    Appends offset part.

    Appends offset part.

    n

    value

    returns

    query builder

    Definition Classes
    NoIdQueryingFeature
  116. def paginate(pagination: Pagination): EntitiesSelectOperationBuilder

    Appends pagination settings as limit/offset.

    Appends pagination settings as limit/offset.

    pagination

    pagination

    returns

    query buildder

    Definition Classes
    NoIdQueryingFeature
  117. def primaryKeyField: scalikejdbc.SQLSyntax

    Definition Classes
    SkinnyMapperBase
  118. 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
  119. def schemaName: Option[String]

    Definition Classes
    SQLSyntaxSupport
  120. def selectQueryWithAdditionalAssociations(sql: scalikejdbc.SelectSQLBuilder[Entity], belongsToAssociations: Seq[BelongsToAssociation[Entity]], hasOneAssociations: Seq[HasOneAssociation[Entity]], hasManyAssociations: Seq[HasManyAssociation[Entity]]): scalikejdbc.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
  121. def selectQueryWithAssociations: scalikejdbc.SelectSQLBuilder[Entity]

    Definition Classes
    AssociationsFeature
  122. def setAsByDefault(extractor: HasManyExtractor[Entity]): Unit

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

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

    Definition Classes
    AssociationsFeature
  125. def singleSelectQuery: scalikejdbc.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.

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

    Calculates sum of a column.

    Calculates sum of a column.

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

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

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

    Definition Classes
    SQLSyntaxSupport
  130. def table: scalikejdbc.TableDefSQLSyntax

    Definition Classes
    SQLSyntaxSupport
  131. def tableName: String

    Returns table name.

    Returns table name.

    Definition Classes
    SkinnyMapperBase → SQLSyntaxSupport
  132. def tableNameWithSchema: String

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

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

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

    A

    enitty type

    mapper

    mapper

    returns

    fk name

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

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

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

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

    Attributes
    protected
    Definition Classes
    SkinnyMapperBase
  138. def useShortenedResultName: Boolean

    Definition Classes
    SQLSyntaxSupport
  139. def useSnakeCaseColumnName: Boolean

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

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

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

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

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

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

    Appends a raw where condition.

    Appends a raw where condition.

    condition
    returns

    query builder

    Definition Classes
    NoIdQueryingFeature
  146. def where(conditions: (Symbol, Any)*): EntitiesSelectOperationBuilder

    Appends where conditions.

    Appends where conditions.

    conditions
    returns

    query builder

    Definition Classes
    NoIdQueryingFeature
  147. 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
  148. 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
  149. def withColumns[A](op: (scalikejdbc.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

Inherited from StrongParametersFeature

Inherited from NoIdQueryingFeature[Entity]

Inherited from NoIdAssociationsFeature[Entity]

Inherited from NoIdJoinsFeature[Entity]

Inherited from NoIdFinderFeature[Entity]

Inherited from CalculationFeature[Entity]

Inherited from AssociationsFeature[Entity]

Inherited from Logging

Inherited from AutoSessionFeature

Inherited from ConnectionPoolFeature

Inherited from SkinnyMapperBase[Entity]

Inherited from scalikejdbc.SQLSyntaxSupport[Entity]

Inherited from AnyRef

Inherited from Any

Ungrouped