Package

skinny

orm

Permalink

package orm

Skinny provides you Skinny-ORM as the default O/R mapper, which is built with ScalikeJDBC.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. orm
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type Alias[A] = scalikejdbc.QuerySQLSyntaxProvider[scalikejdbc.SQLSyntaxSupport[A], A]

    Permalink
  2. trait ParameterBinderOps extends AnyRef

    Permalink
  3. trait SkinnyCRUDMapper[Entity] extends SkinnyMapper[Entity] with CRUDFeatureWithId[Long, Entity]

    Permalink

    Out-of-the-box Skinny-ORM CRUD mapper.

    Out-of-the-box Skinny-ORM CRUD mapper.

    Entity

    entity

  4. trait SkinnyCRUDMapperWithId[Id, Entity] extends SkinnyMapperWithId[Id, Entity] with CRUDFeatureWithId[Id, Entity]

    Permalink

    Out-of-the-box Skinny-ORM CRUD mapper.

    Out-of-the-box Skinny-ORM CRUD mapper.

    Id

    id

    Entity

    entity

  5. trait SkinnyJoinTable[Entity] extends SkinnyMapperBase[Entity] with AssociationsFeature[Entity] with NoIdCUDFeature[Entity] with NoIdQueryingFeature[Entity] with NoIdFinderFeature[Entity]

    Permalink

    SkinnyMapper which represents join table which is used for associations.

    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

    entity

  6. trait SkinnyMapper[Entity] extends SkinnyMapperWithId[Long, Entity]

    Permalink

    Basic SkinnyMapper implementation.

    Basic SkinnyMapper implementation.

    Entity

    entity

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

    Permalink

    SkinnyMapper base.

    SkinnyMapper base.

    Entity

    entity

  8. trait SkinnyMapperWithId[Id, Entity] extends SkinnyMapperBase[Entity] with ConnectionPoolFeature with AutoSessionFeature with IdFeature[Id] with AssociationsWithIdFeature[Id, Entity] with FinderFeatureWithId[Id, Entity] with QueryingFeatureWithId[Id, Entity] with DynamicTableNameFeatureWithId[Id, Entity] with StrongParametersFeature

    Permalink

    Basic SkinnyMapper implementation.

    Basic SkinnyMapper implementation.

    Id

    id

    Entity

    entity

  9. trait SkinnyNoIdCRUDMapper[Entity] extends SkinnyNoIdMapper[Entity] with NoIdCUDFeature[Entity]

    Permalink

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

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

    Entity

    entity

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

    Permalink

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

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

    Entity

    entity

  11. trait SkinnyRecord[Entity] extends SkinnyRecordWithId[Long, Entity]

    Permalink

    ActiveRecord::Base-like entity object base.

    ActiveRecord::Base-like entity object base.

    case class Company(id: Long, name: String) extends SkinnyResource[Company] {
      def skinnyCRUDMapper = Company
    }
    object Company extends SkinnyCRUDMapper[Long, Company] {
      def extract(rs: WrappedResultSet, s: ResultName[Company]): Company = new Company(
        id = rs.longOpt(s.id),
        name = rs.string(s.name)
      )
    }
    // usage
    val company = Company.findById(id).get
    company.copy(name = "Oracle").save()
    company.destroy()
    Entity

    entity

  12. trait SkinnyRecordBase[Entity] extends SkinnyRecordBaseWithId[Long, Entity]

    Permalink

    ActiveRecord::Base-like entity object base.

    ActiveRecord::Base-like entity object base.

    case class Company(id: Long, name: String) extends SkinnyResource[Company] {
      def skinnyCRUDMapper = Company
    }
    object Company extends SkinnyCRUDMapper[Company] {
      def extract(rs: WrappedResultSet, s: ResultName[Company]): Company = new Company(
        id = rs.longOpt(s.id),
        name = rs.string(s.name)
      )
    }
    // usage
    val company = Company.findById(id).get
    company.copy(name = "Oracle").save()
    company.destroy()
    Entity

    entity

  13. trait SkinnyRecordBaseWithId[Id, Entity] extends AnyRef

    Permalink

    ActiveRecord::Base-like entity object base.

    ActiveRecord::Base-like entity object base.

    case class Company(id: Long, name: String) extends SkinnyResource[Company] {
      def skinnyCRUDMapper = Company
    }
    object Company extends SkinnyCRUDMapper[Company] {
      def extract(rs: WrappedResultSet, s: ResultName[Company]): Company = new Company(
        id = rs.longOpt(s.id),
        name = rs.string(s.name)
      )
    }
    // usage
    val company = Company.findById(id).get
    company.copy(name = "Oracle").save()
    company.destroy()
    Id

    id

    Entity

    entity

  14. trait SkinnyRecordWithId[Id, Entity] extends SkinnyRecordBaseWithId[Id, Entity]

    Permalink

    ActiveRecord::Base-like entity object base.

    ActiveRecord::Base-like entity object base.

    case class Company(id: Long, name: String) extends SkinnyResource[Company] {
      def skinnyCRUDMapper = Company
    }
    object Company extends SkinnyCRUDMapper[Long, Company] {
      def extract(rs: WrappedResultSet, s: ResultName[Company]): Company = new Company(
        id = rs.longOpt(s.id),
        name = rs.string(s.name)
      )
    }
    // usage
    val company = Company.findById(id).get
    company.copy(name = "Oracle").save()
    company.destroy()
    Id

    id

    Entity

    entity

Value Members

  1. object ParameterBinderOps extends ParameterBinderOps

    Permalink
  2. package exception

    Permalink
  3. package feature

    Permalink
  4. package servlet

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped