The back-end type required by this profile
The back-end type required by this profile
Builder for SELECT statements that can be used to check for the existing of primary keys supplied to an INSERT operation.
Builder for SELECT statements that can be used to check for the existing of primary keys supplied to an INSERT operation. Used by the insertOrUpdate emulation on databases that don't support this in a single server-side statement.
The type of a (partially) compiled AST for Insert operations.
The type of a (partially) compiled AST for Insert operations. Unlike querying or deleting, inserts may require different compilation results which should be computed lazily.
An InsertInvoker that returns the number of affected rows.
An InsertInvoker that returns the number of affected rows.
Extension methods to generate the JDBC-specific insert actions.
Extension methods to generate the JDBC-specific insert actions.
Builder for INSERT statements.
Builder for INSERT statements.
An InsertActionComposer that returns a mapping of the inserted and generated data.
An InsertActionComposer that returns a mapping of the inserted and generated data.
Code generator phase for queries on JdbcProfile-based drivers.
Code generator phase for queries on JdbcProfile-based drivers.
Code generator phase for inserts on JdbcProfile-based drivers.
Code generator phase for inserts on JdbcProfile-based drivers.
A ResultConverterCompiler that builds JDBC-based converters.
A ResultConverterCompiler that builds JDBC-based converters. Instances of this class use mutable state internally. They are meant to be used for a single conversion only and must not be shared or reused.
An Invoker for queries.
An Invoker for queries.
An InsertActionComposer that returns generated keys or other columns.
An InsertActionComposer that returns generated keys or other columns.
The type of a schema description (DDL)
The type of a schema description (DDL)
A schema description contains the SQL statements for creating and dropping database entities.
A schema description contains the SQL statements for creating and dropping database entities. Schema descriptions can be combined for creating or dropping multiple entities together, even if they have circular dependencies.
Builder for DDL statements for sequences.
Builder for DDL statements for sequences.
Extension methods to generate the JDBC-specific insert actions.
Extension methods to generate the JDBC-specific insert actions.
Builder for UPDATE statements used as part of an insertOrUpdate operation on databases that don't support this in a single server-side statement.
Builder for UPDATE statements used as part of an insertOrUpdate operation on databases that don't support this in a single server-side statement.
The API for using the query language with a single import statement.
The API for using the query language with a single import statement. This provides the driver's implicits, the Database and Session objects for DB connections, and commonly used query language types and objects.
The back-end implementation for this profile
The back-end implementation for this profile
The capabilities supported by this driver.
The capabilities supported by this driver. This can be used to query at runtime whether a specific feature is supported.
(Partially) ompile an AST for insert operations
(Partially) ompile an AST for insert operations
Compute the capabilities.
Compute the capabilities. This should be overridden in subclasses as needed.
Create a (possibly specialized) ResultConverter
for the given JdbcType
.
Create a (possibly specialized) ResultConverter
for the given JdbcType
.
Gets the Slick data model describing this data source
Gets the Slick data model describing this data source
used to build the model, uses defaultTables if None given
logs unrecognized default values instead of throwing an exception
Create a (possibly specialized) ResultConverter
for Option
values of the given JdbcType
.
Create a (possibly specialized) ResultConverter
for Option
values of the given JdbcType
.
Jdbc meta data for all tables included in the Slick model by default
Jdbc meta data for all tables included in the Slick model by default
The compiler used for deleting data
The compiler used for deleting data
The configuration for this driver, loaded via loadDriverConfig.
The configuration for this driver, loaded via loadDriverConfig.
The compiler used for inserting data
The compiler used for inserting data
Load the configuration for this driver.
Load the configuration for this driver. This can be overridden in user-defined driver subclasses to load different configurations.
The default implementation does a breadth-first search in the supertype hierarchy of the runtime class until it finds a class or trait matching "slick.driver.XXXDriver" where XXX is an arbitrary name, and then returns the path "slick.driver.XXX" from the application config, if it exists, otherwise an empty Config object.
The MappingCompiler
for this driver.
The MappingCompiler
for this driver.
The external interface of this driver which defines the API.
The external interface of this driver which defines the API.
The compiler used for queries
The compiler used for queries
quotes identifiers to avoid collisions with SQL keywords and other syntax issues
quotes identifiers to avoid collisions with SQL keywords and other syntax issues
Run a query synchronously on the provided session.
Run a query synchronously on the provided session. This is used by DistributedDriver until we can make it fully asynchronous.
The table name for scalar selects (e.g.
The table name for scalar selects (e.g. "select 42 from DUAL;"), or None
for
scalar selects without a FROM clause ("select 42;").
The compiler used for updates
The compiler used for updates
Create a SQL representation of a literal value.
Create a SQL representation of a literal value.
Slick driver for PostgreSQL.
This driver implements slick.driver.JdbcProfile without the following capabilities:
returning
are emulated on the client side.Notes:
Blob
type uses the database typelo
and the stored procedurelo_manage
, both of which are provided by the "lo" extension in PostgreSQL.