skinny.orm

SkinnyMapperBase

trait SkinnyMapperBase[Entity] extends scalikejdbc.SQLInterpolation.SQLSyntaxSupport[Entity]

SkinnyMapper base.

Entity

entity

Linear Supertypes
scalikejdbc.SQLInterpolation.SQLSyntaxSupport[Entity], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SkinnyMapperBase
  2. SQLSyntaxSupport
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

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")

  2. abstract def extract(rs: WrappedResultSet, n: scalikejdbc.SQLInterpolation.ResultName[Entity]): Entity

    Extracts entity from ResultSet.

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

    Extracts entity from ResultSet.

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

    Extracts entity from ResultSet.

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

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

    Definition Classes
    Any
  10. def autoSession: DBSession

    Definition Classes
    SQLSyntaxSupport
  11. def clone(): AnyRef

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

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

    Returns column names.

    Returns column names.

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

    Definition Classes
    SQLSyntaxSupport
  15. def connectionPoolName: Any

    Definition Classes
    SQLSyntaxSupport
  16. def createAlias(name: String): Alias[Entity]

    Creates a new table alias for this mapper.

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

    Returns default scope for select queries.

  18. def defaultScopeWithDefaultAlias: Option[scalikejdbc.SQLInterpolation.SQLSyntax]

  19. def defaultSelectQuery: scalikejdbc.SQLInterpolation.SelectSQLBuilder[Entity]

    Returns select query builder.

  20. def delimiterForResultName: String

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

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

    Definition Classes
    AnyRef → Any
  23. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  24. def forceUpperCase: Boolean

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

    Definition Classes
    AnyRef → Any
  26. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  27. final def isInstanceOf[T0]: Boolean

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

    Predicates the field name is valid.

  29. def nameConverters: Map[String, String]

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

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

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

    Definition Classes
    AnyRef
  33. def primaryKeyField: scalikejdbc.SQLInterpolation.SQLSyntax

  34. 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"

  35. def schemaName: Option[String]

    Definition Classes
    SQLSyntaxSupport
  36. 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
  37. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

    Definition Classes
    SQLSyntaxSupport
  41. def tableName: String

    Returns table name.

    Returns table name.

    Definition Classes
    SkinnyMapperBase → SQLSyntaxSupport
  42. def tableNameWithSchema: String

    Definition Classes
    SQLSyntaxSupport
  43. def toString(): String

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

    Attributes
    protected
  45. def useShortenedResultName: Boolean

    Definition Classes
    SQLSyntaxSupport
  46. def useSnakeCaseColumnName: Boolean

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

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

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

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

    Provides a code block with a table alias.

  51. def withAlias[A](op: (Alias[Entity]) ⇒ A): A

    Provides a code block with a table alias.

  52. def withColumns[A](op: (scalikejdbc.SQLInterpolation.ColumnName[Entity]) ⇒ A): A

    Provides a code block with the column name provider.

Inherited from scalikejdbc.SQLInterpolation.SQLSyntaxSupport[Entity]

Inherited from AnyRef

Inherited from Any

Ungrouped