The * projection of the table used as default for queries and inserts.
The * projection of the table used as default for queries and inserts.
Should include all columns as a tuple, HList or custom shape and optionally
map them to a custom entity type using the <> operator.
The ProvenShape
return type ensures that
there is a Shape
available for translating between the Column
-based
type in * and the client-side type without Column
in the table's type
parameter.
Encode a reference into this Rep
Encode a reference into this Rep
Define a foreign key relationship.
Define a foreign key relationship.
The name of the foreign key in the database (only used when you define the database schema with Slick).
A column or a projection of multiple columns from this table defining the source of the foreign key.
The TableQuery
for the target table.
A function that maps from the target table to the column (or columns) to which the foreign key points.
A ForeignKeyAction
, default being NoAction
.
A ForeignKeyAction
, default being NoAction
.
Define an index or a unique constraint.
Define the primary key for this table.
Define the primary key for this table.
It is usually simpler to use the O.PrimaryKey
option on the primary
key column but this method allows you to define compound primary keys
or give them user-defined names (when defining the database schema
with Slick).
Get the Node for this Rep
Get the Node for this Rep
(abstractTable: StringAdd).self
(abstractTable: StringFormat).self
(abstractTable: ArrowAssoc[AbstractTable[T]]).x
(Since version 2.10.0) Use leftOfArrow
instead
(abstractTable: Ensuring[AbstractTable[T]]).x
(Since version 2.10.0) Use resultOfEnsuring
instead
The driver-independent superclass of all table row objects.
Row type for this table. Make sure it matches the type of your
*
projection.