Type Members
-
sealed
trait
Calculation extends AnyRef
-
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
-
Abstract Value Members
-
abstract
def
defaultAlias: Alias[Entity]
Concrete Value Members
-
final
def
!=(arg0: AnyRef): Boolean
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: AnyRef): Boolean
-
final
def
==(arg0: Any): Boolean
-
object
Average extends Calculation with Product with Serializable
-
object
Maximum extends Calculation with Product with Serializable
-
object
Minimum extends Calculation with Product with Serializable
-
object
Sum extends Calculation with Product with Serializable
-
def
appendIncludedAttributes(entity: Option[Entity])(implicit s: DBSession, repository: IncludesQueryRepository[Entity]): Option[Entity]
-
def
appendIncludedAttributes(entities: List[Entity])(implicit s: DBSession, repository: IncludesQueryRepository[Entity]): List[Entity]
-
def
apply(rs: WrappedResultSet): Entity
-
def
apply(a: Alias[Entity])(rs: WrappedResultSet): Entity
-
def
as(provider: scalikejdbc.SQLInterpolation.QuerySQLSyntaxProvider[scalikejdbc.SQLInterpolation.SQLSyntaxSupport[Entity], Entity]): scalikejdbc.SQLInterpolation.TableAsAliasSQLSyntax
-
final
def
asInstanceOf[T0]: T0
-
def
associations: LinkedHashSet[Association[_]]
-
def
autoSession: DBSession
-
-
def
belongsToWithAlias[A](right: (AssociationsFeature[A], Alias[A]), merge: (Entity, Option[A]) ⇒ Entity): BelongsToAssociation[Entity]
-
def
belongsToWithAliasAndFk[A](right: (AssociationsFeature[A], Alias[A]), fk: String, merge: (Entity, Option[A]) ⇒ Entity): BelongsToAssociation[Entity]
-
def
belongsToWithAliasAndFkAndJoinCondition[A](right: (AssociationsFeature[A], Alias[A]), fk: String, on: scalikejdbc.SQLInterpolation.SQLSyntax, merge: (Entity, Option[A]) ⇒ Entity): BelongsToAssociation[Entity]
-
def
belongsToWithFk[A](right: AssociationsFeature[A], fk: String, merge: (Entity, Option[A]) ⇒ Entity): BelongsToAssociation[Entity]
-
def
belongsToWithFkAndJoinCondition[A](right: AssociationsFeature[A], fk: String, on: scalikejdbc.SQLInterpolation.SQLSyntax, merge: (Entity, Option[A]) ⇒ Entity): BelongsToAssociation[Entity]
-
def
belongsToWithJoinCondition[A](right: AssociationsFeature[A], on: scalikejdbc.SQLInterpolation.SQLSyntax, merge: (Entity, Option[A]) ⇒ Entity): BelongsToAssociation[Entity]
-
def
clone(): AnyRef
-
def
column: scalikejdbc.SQLInterpolation.ColumnName[Entity]
-
def
columnNames: Seq[String]
-
def
columns: Seq[String]
-
def
connectionPool: ConnectionPool
-
def
connectionPoolName: Any
-
def
convertAutoGeneratedIdToId[A](id: Long): Option[Long]
-
def
countAll()(implicit s: DBSession = autoSession): Long
-
def
countAllBy(where: scalikejdbc.SQLInterpolation.SQLSyntax)(implicit s: DBSession = autoSession): Long
-
def
createAlias(name: String): Alias[Entity]
-
-
def
createWithAttributes(parameters: (Symbol, Any)*)(implicit s: DBSession = autoSession): Unit
-
def
createWithNamedValues(namesAndValues: (scalikejdbc.SQLInterpolation.SQLSyntax, Any)*)(implicit s: DBSession = autoSession): Unit
-
def
createWithPermittedAttributes(strongParameters: PermittedStrongParameters)(implicit s: DBSession = autoSession): Unit
-
def
debug(msg: ⇒ Any, t: ⇒ Throwable): Unit
-
def
debug(msg: ⇒ Any): Unit
-
val
defaultBelongsToExtractors: LinkedHashSet[BelongsToExtractor[Entity]]
-
val
defaultHasOneExtractors: LinkedHashSet[HasOneExtractor[Entity]]
-
val
defaultJoinDefinitions: LinkedHashSet[JoinDefinition[_]]
-
val
defaultOneToManyExtractors: LinkedHashSet[HasManyExtractor[Entity]]
-
def
defaultOrdering: scalikejdbc.SQLInterpolation.SQLSyntax
-
def
defaultScope(alias: Alias[Entity]): Option[scalikejdbc.SQLInterpolation.SQLSyntax]
-
def
defaultScopeWithDefaultAlias: Option[scalikejdbc.SQLInterpolation.SQLSyntax]
-
def
defaultSelectQuery: scalikejdbc.SQLInterpolation.SelectSQLBuilder[Entity]
-
def
delimiterForResultName: String
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
error(msg: ⇒ Any, t: ⇒ Throwable): Unit
-
def
error(msg: ⇒ Any): Unit
-
def
extract(rs: WrappedResultSet, s: scalikejdbc.SQLInterpolation.ResultName[Entity]): Entity
-
def
extract(sql: SQL[Entity, NoExtractor])(implicit includesRepository: IncludesQueryRepository[Entity]): SQL[Entity, HasExtractor]
-
def
extractBelongsTo[That](mapper: AssociationsFeature[That], fk: String, alias: Alias[That], merge: (Entity, Option[That]) ⇒ Entity, includesMerge: (Seq[Entity], Seq[That]) ⇒ Seq[Entity]): BelongsToExtractor[Entity]
-
def
extractHasOne[That](mapper: AssociationsFeature[That], fk: String, alias: Alias[That], merge: (Entity, Option[That]) ⇒ Entity, includesMerge: (Seq[Entity], Seq[That]) ⇒ Seq[Entity]): HasOneExtractor[Entity]
-
def
extractOneToMany[M1](mapper: AssociationsFeature[M1], alias: Alias[M1], merge: (Entity, Seq[M1]) ⇒ Entity, includesMerge: (Seq[Entity], Seq[M1]) ⇒ Seq[Entity]): HasManyExtractor[Entity]
-
def
extractOneToManyWithDefaults[M1](mapper: AssociationsFeature[M1], merge: (Entity, Seq[M1]) ⇒ Entity, includesMerge: (Seq[Entity], Seq[M1]) ⇒ Seq[Entity]): HasManyExtractor[Entity]
-
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]
-
def
extractWithOneToOneTables(rs: WrappedResultSet, belongsToExtractors: Set[BelongsToExtractor[Entity]], hasOneExtractors: Set[HasOneExtractor[Entity]])(implicit includesRepository: IncludesQueryRepository[Entity]): Entity
-
def
finalize(): Unit
-
def
findAll(ordering: scalikejdbc.SQLInterpolation.SQLSyntax = defaultOrdering)(implicit s: DBSession = autoSession): List[Entity]
-
def
findAllBy(where: scalikejdbc.SQLInterpolation.SQLSyntax, ordering: scalikejdbc.SQLInterpolation.SQLSyntax = ...)(implicit s: DBSession = autoSession): List[Entity]
-
def
findAllByWithLimitOffset(where: scalikejdbc.SQLInterpolation.SQLSyntax, limit: Int = 100, offset: Int = 0, ordering: scalikejdbc.SQLInterpolation.SQLSyntax = ...)(implicit s: DBSession = autoSession): List[Entity]
-
def
findAllByWithPagination(where: scalikejdbc.SQLInterpolation.SQLSyntax, pagination: Pagination, ordering: scalikejdbc.SQLInterpolation.SQLSyntax = ...)(implicit s: DBSession = autoSession): List[Entity]
-
def
findAllWithLimitOffset(limit: Int = 100, offset: Int = 0, ordering: scalikejdbc.SQLInterpolation.SQLSyntax = defaultOrdering)(implicit s: DBSession = autoSession): List[Entity]
-
def
findAllWithPagination(pagination: Pagination, ordering: scalikejdbc.SQLInterpolation.SQLSyntax = defaultOrdering)(implicit s: DBSession = autoSession): List[Entity]
-
def
findBy(where: scalikejdbc.SQLInterpolation.SQLSyntax)(implicit s: DBSession = autoSession): Option[Entity]
-
def
forceUpperCase: Boolean
-
def
generateId: Long
-
final
def
getClass(): Class[_]
-
def
getTypedValueFromStrongParameter(fieldName: String, value: Any, paramType: ParamType): Option[Any]
-
def
hasMany[M](many: (AssociationsFeature[M], Alias[M]), on: (Alias[Entity], Alias[M]) ⇒ scalikejdbc.SQLInterpolation.SQLSyntax, merge: (Entity, Seq[M]) ⇒ Entity): HasManyAssociation[Entity]
-
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]
-
-
def
hasManyThroughWithFk[M2](through: AssociationsFeature[_], many: AssociationsFeature[M2], throughFk: String, manyFk: String, merge: (Entity, Seq[M2]) ⇒ Entity): HasManyAssociation[Entity]
-
-
def
hasOneWithAlias[A](right: (AssociationsFeature[A], Alias[A]), merge: (Entity, Option[A]) ⇒ Entity): HasOneAssociation[Entity]
-
def
hasOneWithAliasAndFk[A](right: (AssociationsFeature[A], Alias[A]), fk: String, merge: (Entity, Option[A]) ⇒ Entity): HasOneAssociation[Entity]
-
def
hasOneWithAliasAndFkAndJoinCondition[A](right: (AssociationsFeature[A], Alias[A]), fk: String, on: scalikejdbc.SQLInterpolation.SQLSyntax, merge: (Entity, Option[A]) ⇒ Entity): HasOneAssociation[Entity]
-
def
hasOneWithAliasAndJoinCondition[A](right: (AssociationsFeature[A], Alias[A]), on: scalikejdbc.SQLInterpolation.SQLSyntax, merge: (Entity, Option[A]) ⇒ Entity): HasOneAssociation[Entity]
-
def
hasOneWithFk[A](right: AssociationsFeature[A], fk: String, merge: (Entity, Option[A]) ⇒ Entity): HasOneAssociation[Entity]
-
def
hasOneWithFkAndJoinCondition[A](right: AssociationsFeature[A], fk: String, on: scalikejdbc.SQLInterpolation.SQLSyntax, merge: (Entity, Option[A]) ⇒ Entity): HasOneAssociation[Entity]
-
def
hasOneWithJoinCondition[A](right: AssociationsFeature[A], on: scalikejdbc.SQLInterpolation.SQLSyntax, merge: (Entity, Option[A]) ⇒ Entity): HasOneAssociation[Entity]
-
def
hashCode(): Int
-
def
idToRawValue(id: Long): Long
-
-
def
info(msg: ⇒ Any, t: ⇒ Throwable): Unit
-
def
info(msg: ⇒ Any): Unit
-
-
def
innerJoin(right: (AssociationsFeature[_], Alias[_]), on: (Alias[Entity], Alias[_]) ⇒ scalikejdbc.SQLInterpolation.SQLSyntax): JoinDefinition[Entity]
-
def
innerJoinWithDefaults[Left](left: AssociationsFeature[Left], right: AssociationsFeature[_], on: (Alias[Left], Alias[_]) ⇒ scalikejdbc.SQLInterpolation.SQLSyntax): JoinDefinition[Entity]
-
def
innerJoinWithDefaults(right: AssociationsFeature[_], on: (Alias[Entity], Alias[Any]) ⇒ scalikejdbc.SQLInterpolation.SQLSyntax): JoinDefinition[Entity]
-
def
innerJoinWithDefaults(right: AssociationsFeature[_], on: scalikejdbc.SQLInterpolation.SQLSyntax): JoinDefinition[Entity]
-
def
isDebugEnabled: Boolean
-
def
isErrorEnabled: Boolean
-
def
isInfoEnabled: Boolean
-
final
def
isInstanceOf[T0]: Boolean
-
def
isTraceEnabled: Boolean
-
def
isValidFieldName(name: String): Boolean
-
def
isWarnEnabled: Boolean
-
-
def
join(right: (AssociationsFeature[_], Alias[_]), on: (Alias[Entity], Alias[_]) ⇒ scalikejdbc.SQLInterpolation.SQLSyntax): JoinDefinition[Entity]
-
-
def
joinWithDefaults(right: AssociationsFeature[_], on: (Alias[Entity], Alias[Any]) ⇒ scalikejdbc.SQLInterpolation.SQLSyntax): JoinDefinition[Entity]
-
def
joinWithDefaults(right: AssociationsFeature[_], on: scalikejdbc.SQLInterpolation.SQLSyntax): JoinDefinition[Entity]
-
-
-
def
leftJoin(right: (AssociationsFeature[_], Alias[_]), on: (Alias[Entity], Alias[_]) ⇒ scalikejdbc.SQLInterpolation.SQLSyntax): JoinDefinition[_]
-
-
def
leftJoinWithDefaults(right: AssociationsFeature[_], on: (Alias[Entity], Alias[Any]) ⇒ scalikejdbc.SQLInterpolation.SQLSyntax): JoinDefinition[_]
-
def
leftJoinWithDefaults(right: AssociationsFeature[_], on: scalikejdbc.SQLInterpolation.SQLSyntax): JoinDefinition[_]
-
-
def
logger: Logger
-
def
loggerName: String
-
def
nameConverters: Map[String, String]
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
-
-
def
primaryKeyField: scalikejdbc.SQLInterpolation.SQLSyntax
-
def
primaryKeyFieldName: String
-
def
rawValueToId(rawValue: Any): Long
-
def
schemaName: Option[String]
-
def
selectQueryWithAdditionalAssociations(sql: scalikejdbc.SQLInterpolation.SelectSQLBuilder[Entity], belongsToAssociations: Seq[BelongsToAssociation[Entity]], hasOneAssociations: Seq[HasOneAssociation[Entity]], hasManyAssociations: Seq[HasManyAssociation[Entity]]): scalikejdbc.SQLInterpolation.SelectSQLBuilder[Entity]
-
def
selectQueryWithAssociations: scalikejdbc.SQLInterpolation.SelectSQLBuilder[Entity]
-
def
setAsByDefault(extractor: HasManyExtractor[Entity]): Unit
-
def
setAsByDefault(extractor: HasOneExtractor[Entity]): Unit
-
def
setAsByDefault(extractor: BelongsToExtractor[Entity]): Unit
-
def
singleSelectQuery: scalikejdbc.SQLInterpolation.SelectSQLBuilder[Entity]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
syntax(name: String): scalikejdbc.SQLInterpolation.QuerySQLSyntaxProvider[scalikejdbc.SQLInterpolation.SQLSyntaxSupport[Entity], Entity]
-
def
syntax: scalikejdbc.SQLInterpolation.QuerySQLSyntaxProvider[scalikejdbc.SQLInterpolation.SQLSyntaxSupport[Entity], Entity]
-
def
table: scalikejdbc.SQLInterpolation.TableDefSQLSyntax
-
def
tableName: String
-
def
tableNameWithSchema: String
-
def
toDefaultForeignKeyName[A](mapper: AssociationsFeature[A]): String
-
def
toString(): String
-
def
trace(msg: ⇒ Any, t: ⇒ Throwable): Unit
-
def
trace(msg: ⇒ Any): Unit
-
-
def
useAutoIncrementPrimaryKey: Boolean
-
def
useExternalIdGenerator: Boolean
-
def
useShortenedResultName: Boolean
-
def
useSnakeCaseColumnName: Boolean
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
def
warn(msg: ⇒ Any, t: ⇒ Throwable): Unit
-
def
warn(msg: ⇒ Any): Unit
-
def
where(condition: scalikejdbc.SQLInterpolation.SQLSyntax): EntitiesSelectOperationBuilder
-
-
def
withAlias[A](name: String)(op: (Alias[Entity]) ⇒ A): A
-
def
withAlias[A](op: (Alias[Entity]) ⇒ A): A
-
def
withColumns[A](op: (scalikejdbc.SQLInterpolation.ColumnName[Entity]) ⇒ A): A
-
Deprecated Value Members
-
def
findAllByPaging(where: scalikejdbc.SQLInterpolation.SQLSyntax, limit: Int = 100, offset: Int = 0, ordering: scalikejdbc.SQLInterpolation.SQLSyntax = ...)(implicit s: DBSession = autoSession): List[Entity]
-
def
findAllPaging(limit: Int = 100, offset: Int = 0, ordering: scalikejdbc.SQLInterpolation.SQLSyntax = defaultOrdering)(implicit s: DBSession = autoSession): List[Entity]
Inherited from Logging
Inherited from scalikejdbc.SQLInterpolation.SQLSyntaxSupport[Entity]
Inherited from AnyRef
Inherited from Any
SkinnyMapper which represents join table which is used for associations.
This mapper don't have primary key search and so on because they cannot work as expected or no need to implement.
entity