skinny.orm

SkinnyMapperBase

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

SkinnyMapper base.

Entity

entity

Linear Supertypes
scalikejdbc.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.ResultName[Entity]): Entity

    Extracts entity from ResultSet.

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.

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

    Extracts entity from ResultSet.

  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 autoSession: DBSession

    Definition Classes
    SQLSyntaxSupport
  9. def clearLoadedColumns(): Unit

    Definition Classes
    SQLSyntaxSupport
  10. def clone(): AnyRef

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

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

    Returns column names.

    Returns column names.

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

    Definition Classes
    SQLSyntaxSupport
  14. def connectionPoolName: Any

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

    Creates a new table alias for this mapper.

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

    Returns default scope for select queries.

  17. def defaultScopeWithDefaultAlias: Option[scalikejdbc.SQLSyntax]

  18. def defaultSelectQuery: scalikejdbc.SelectSQLBuilder[Entity]

    Returns select query builder.

  19. def delimiterForResultName: String

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

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

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

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

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

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

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

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

    Predicates the field name is valid.

  28. def nameConverters: Map[String, String]

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

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

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

    Definition Classes
    AnyRef
  32. def primaryKeyField: scalikejdbc.SQLSyntax

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

  34. def schemaName: Option[String]

    Definition Classes
    SQLSyntaxSupport
  35. def singleSelectQuery: scalikejdbc.SelectSQLBuilder[Entity]

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

  36. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

    Definition Classes
    SQLSyntaxSupport
  39. def table: scalikejdbc.TableDefSQLSyntax

    Definition Classes
    SQLSyntaxSupport
  40. def tableName: String

    Returns table name.

    Returns table name.

    Definition Classes
    SkinnyMapperBase → SQLSyntaxSupport
  41. def tableNameWithSchema: String

    Definition Classes
    SQLSyntaxSupport
  42. def toString(): String

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

    Attributes
    protected
  44. def useShortenedResultName: Boolean

    Definition Classes
    SQLSyntaxSupport
  45. def useSnakeCaseColumnName: Boolean

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

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

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

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

    Provides a code block with a table alias.

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

    Provides a code block with a table alias.

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

    Provides a code block with the column name provider.

Inherited from scalikejdbc.SQLSyntaxSupport[Entity]

Inherited from AnyRef

Inherited from Any

Ungrouped