package orm
Skinny provides you Skinny-ORM as the default O/R mapper, which is built with ScalikeJDBC.
- Alphabetic
- By Inheritance
- orm
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- type Alias[A] = scalikejdbc.QuerySQLSyntaxProvider[scalikejdbc.SQLSyntaxSupport[A], A]
- trait JodaImplicits extends AnyRef
- trait ParameterBinderOps extends AnyRef
-
trait
SkinnyCRUDMapper[Entity] extends SkinnyMapper[Entity] with CRUDFeatureWithId[Long, Entity]
Out-of-the-box Skinny-ORM CRUD mapper.
Out-of-the-box Skinny-ORM CRUD mapper.
- Entity
entity
-
trait
SkinnyCRUDMapperWithId[Id, Entity] extends SkinnyMapperWithId[Id, Entity] with CRUDFeatureWithId[Id, Entity]
Out-of-the-box Skinny-ORM CRUD mapper.
Out-of-the-box Skinny-ORM CRUD mapper.
- Id
id
- Entity
entity
-
trait
SkinnyJoinTable[Entity] extends SkinnyMapperBase[Entity] with AssociationsFeature[Entity] with NoIdCUDFeature[Entity] with NoIdQueryingFeature[Entity] with NoIdFinderFeature[Entity]
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
-
trait
SkinnyMapper[Entity] extends SkinnyMapperWithId[Long, Entity]
Basic SkinnyMapper implementation.
Basic SkinnyMapper implementation.
- Entity
entity
-
trait
SkinnyMapperBase[Entity] extends scalikejdbc.SQLSyntaxSupport[Entity] with JodaImplicits
SkinnyMapper base.
SkinnyMapper base.
- Entity
entity
-
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
Basic SkinnyMapper implementation.
Basic SkinnyMapper implementation.
- Id
id
- Entity
entity
-
trait
SkinnyNoIdCRUDMapper[Entity] extends SkinnyNoIdMapper[Entity] with NoIdCUDFeature[Entity]
CRUD mapper for tables that don't have single primary key.
CRUD mapper for tables that don't have single primary key.
- Entity
entity
-
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.
Basic mapper for tables that don't have single primary key.
- Entity
entity
-
trait
SkinnyRecord[Entity] extends SkinnyRecordWithId[Long, Entity]
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
-
trait
SkinnyRecordBase[Entity] extends SkinnyRecordBaseWithId[Long, Entity]
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
-
trait
SkinnyRecordBaseWithId[Id, Entity] extends AnyRef
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
-
trait
SkinnyRecordWithId[Id, Entity] extends SkinnyRecordBaseWithId[Id, Entity]
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
- object JodaImplicits extends JodaImplicits
- object ParameterBinderOps extends ParameterBinderOps