trait
DefaultFilter[T <: Table[V, I, P], V <: IdModel[I], I <: IdType, P <: JdbcProfile] extends AnyRef
Type Members
-
type
QueryJoin[A, B] = Query[(T, A), (V, B), Seq]
-
type
QueryJoinTwo[A, B, AA, BB] = Query[((T, A), AA), ((V, B), BB), Seq]
-
type
QueryLeftJoin[A, B] = Query[(T, slick.jdbc.JdbcProfile.API.Rep[Option[A]]), (V, Option[B]), Seq]
-
type
QueryWithFilter = Query[T, V, Seq]
Abstract Value Members
-
abstract
val
profile: JdbcProfile
-
abstract
val
slickQuery: slick.jdbc.JdbcProfile.API.TableQuery[T]
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
def
addDefaultFilter(filter: (T) ⇒ slick.jdbc.JdbcProfile.API.Rep[Boolean]): Unit
-
def
addDefaultOptFilter(filter: (T) ⇒ slick.jdbc.JdbcProfile.API.Rep[Option[Boolean]]): Unit
-
def
applyDefaultFilters[A <: Table[B, _, P], B <: IdModel[_]](query: QueryJoin[A, B], other: DefaultFilter[A, B, _, P]): QueryJoin[A, B]
-
-
def
applyDefaultFiltersLeftJoin[A <: Table[B, _, P], B <: IdModel[_]](query: QueryLeftJoin[A, B]): QueryLeftJoin[A, B]
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
def
getDefaultFilters(t: T): slick.jdbc.JdbcProfile.API.Rep[Option[Boolean]]
-
def
getSlickQuery: slick.jdbc.JdbcProfile.API.TableQuery[T]
-
def
hashCode(): Int
-
def
ifDefaultFiltersExist[R](exists: () ⇒ R, doesNotExist: () ⇒ R): R
-
final
def
isInstanceOf[T0]: Boolean
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Inherited from AnyRef
Inherited from Any
Default filter is the "lowest" level of the dao traits that simply lets you add a default filter to any query that the DAO runs. This is useful for customer_id, team_id, etc...
slick table, extends aiqtable
case class to store result set rows
id type (option long and uuid)