busymachines.pureharm.phdbslick.SlickQueryAlgebraDefinitions
SlickDBQueryAlgebra
Companion object SlickDBQueryAlgebra
abstract class SlickDBQueryAlgebra[E, PK, TA <: (SlickQueryAlgebraDefinitions.this)#TableWithPK[E, PK]] extends DAOAlgebra[ConnectionIO, E, PK]
- E
The type of value to be inserted into the table
- PK
The type of the value by which to uniquely identify the element
E, by default this is also the primary key, and also has the unique constraint.- TA
Slick Table definition
- Alphabetic
- By Inheritance
- SlickDBQueryAlgebra
- DAOAlgebra
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new SlickDBQueryAlgebra()(implicit columnTypePK: (SlickQueryAlgebraDefinitions.this)#ColumnType[PK], identifiable: Identifiable[E, PK], connectionIOEC: ConnectionIOEC)
Abstract Value Members
- abstract def dao: slick.jdbc.JdbcProfile.API.TableQuery[TA]
Because creating this object is done via a macro, we have to actually override in each implementer and call this with the explicit type for
TABecause creating this object is done via a macro, we have to actually override in each implementer and call this with the explicit type for
TAclass MyStringTable extends TableWithPK[String, String] {...} class MyQueries extends QueryAlgebra[String, String, MyStringTable]{ override val dao = TableQuery[MyStringTable] }
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- implicit val columnTypePK: (SlickQueryAlgebraDefinitions.this)#ColumnType[PK]
- implicit val connectionIOEC: ConnectionIOEC
- def delete(pk: PK): ConnectionIO[Unit]
- Definition Classes
- SlickDBQueryAlgebra → DAOAlgebra
- def deleteMany(pks: Iterable[PK]): ConnectionIO[Unit]
- Definition Classes
- SlickDBQueryAlgebra → DAOAlgebra
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def existAll(pks: Iterable[PK]): ConnectionIO[Boolean]
- Definition Classes
- SlickDBQueryAlgebra → DAOAlgebra
- def exists(pk: PK): ConnectionIO[Boolean]
- Definition Classes
- SlickDBQueryAlgebra → DAOAlgebra
- def existsAtLeastOne(pks: Iterable[PK]): ConnectionIO[Boolean]
- Definition Classes
- SlickDBQueryAlgebra → DAOAlgebra
- def finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def find(pk: PK): ConnectionIO[Option[E]]
- Definition Classes
- SlickDBQueryAlgebra → DAOAlgebra
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- implicit val identifiable: Identifiable[E, PK]
- def insert(e: E): ConnectionIO[PK]
- Definition Classes
- SlickDBQueryAlgebra → DAOAlgebra
- def insertMany(es: Iterable[E]): ConnectionIO[Unit]
- Definition Classes
- SlickDBQueryAlgebra → DAOAlgebra
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def retrieve(pk: PK): ConnectionIO[E]
- Definition Classes
- SlickDBQueryAlgebra → DAOAlgebra
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def update(e: E): ConnectionIO[E]
- Definition Classes
- SlickDBQueryAlgebra → DAOAlgebra
- def updateMany[M[_]](es: M[E])(implicit arg0: effects.Traverse[M]): ConnectionIO[Unit]
- Definition Classes
- SlickDBQueryAlgebra → DAOAlgebra
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()