Add to transaction log a create operation
Add to transaction log a create operation
id of object
input
Add to transaction log a delete operation
Add to transaction log a delete operation
id of object
original object
Add to transaction log an update operation
Add to transaction log an update operation
id of object
new object
original object
Create a query for creating objects.
Create a query for creating objects. This query depends on the id type since MySQL can only return ids of autoincs
new row
Get compiled query with input applied.
Get compiled query with input applied. Adds TWO extra field for filtering
type of field1
type of field2
baseline query to add IN filter to
lambda to get id field from table
string keyprefix for storing in singleton
singleton to store compiled queries
to filter the field defined in fieldFunc
lambda function to apply first filter for extra field
value to filter first extra field on
lambda function to apply second filter for extra field
value to filter second extra field on
implicit way to query type A
implicit way to query type B
applied compiled function
Get compiled query with input applied.
Get compiled query with input applied. Adds extra field for filtering
type of field1
baseline query to add IN filter to
lambda to get id field from table
string keyprefix for storing in singleton
singleton to store compiled queries
to filter the field defined in fieldFunc
lambda function to apply filter for extra field
value to filter extra field on
implicit way to query type A
applied compiled function
Get compiled query with input applied
Get compiled query with input applied
baseline query to add IN filter to
lambda to get id field from table
string keyprefix for storing in singleton
singleton to store compiled queries
ids to filter the field defined in fieldFunc
applied compiled function
Query to filter id = something
Query to filter id in (some seq)
Retrieve ID column from query
Retrieve sequence of ids from sequence of rows
Validate create
Validate create
input to validate
DBIOAction of FormValidatorMessageSeq
Validate an update
Validate an update
input to validate
original object
DBIOAction of FormValidatorMessageSeq
Perform action to create a single object
Perform action to create a single object
object to create
run validation function
ID of object inserted or failure with exception
Perform action to create a single object
Perform action to create a single object
object to create
run validation on input using default validator
ID of object inserted or failure with exception
Perform action to create objects
Perform action to create objects
sequence of inputs
run validation function
sequence of ids or failure with exception
Perform action to create objects
Perform action to create objects
sequence of inputs
run validation on inputs using default validator
sequence of ids or failure with exception
Perform a delete action on a seq of values
Perform a delete action on a seq of values
ids of objects to delete
number of rows deleted for each input
Perform a delete action
Perform a delete action
id of object to delete
number of rows deleted or failure with exception
Build a delete query
Build an inner join query between two daos
Build an inner join query between two daos
type of other slick table
type of other slick model
type of other idtype
other DAO to join to
lambda filter function to specify "on" clause for join
extra where clause
query to do join
Build a left join query between two daos
Build a left join query between two daos
type of other slick table
type of other slick model
type of other idtype
other DAO to join to
lambda filter function to specify "on" clause for join
extra where clause
query to do left join, "other" piece is option to return
Perform read action
Perform read action
extra query params
Perform action to read objects by set of ids
Perform action to read objects by set of ids
set of ids
sequence of objects
Perform action to read object by id
Perform action to read object by id
id of object
Option of object
Build a read query for a set of ids
Build a read query based on an id
Perform action to read object by set of ids, throw exception if any not found
Perform action to read object by set of ids, throw exception if any not found
set of ids
dbioaction of sequence of model or failure with SlickException
DAOException
if any id is invalid
Perform action to read object by id, throw exception if not found
Perform action to read object by id, throw exception if not found
id of object
dbioaction of model or failure with SlickException
Read ids only
Read ids only
extra query params
dbioaction of sequence of ids
Perform read with join
Perform read with join
type of other slick table
type of other slick model
type of other idtype
other DAO to join to
lambda filter function to specify "on" clause for join
extra where clause
action of join query
Perform read with left join
Perform read with left join
type of other slick table
type of other slick model
type of other idtype
other DAO to join to
lambda filter function to specify "on" clause for join
extra where clause
action to do left join, "other" piece is option to return
Build a read query.
Build a read query. Most query functions will use this as a basis for building their queries so default filters get used throughout. The only exception is joins.
Perform a read with child table results.
Perform a read with child table results. Think many to many relationships. This actually runs a query to get results from the "parent", uses that to generate a query for "children", and then merge the data together
type of other slick table
type of other slick model
type of other idtype
return type, typically Seq[(A, Seq[B])]
other DAO that is "child"
lambda function to filter "child" table on
function to merge both resultsets
any extra query params for parent table
Perform an update action on a seq of values
Perform an update action on a seq of values
objects to update, id will be extracted
run validation on input using validation function
id of object or failure with exceptions
Perform an update action on a seq of values
Perform an update action on a seq of values
objects to update, id will be extracted
run validation on input
id of object or failure with exceptions
Perform an update action
Perform an update action
object to update, id will be extracted
run validation on input using validation function
id of object or failure with exception
Perform an update action
Perform an update action
object to update, id will be extracted
run validation on input using default validator
id of object or failure with exception
Perform an update action
Perform an update action
original object
run validation on input using validation function
function taking in original object returning an end result object to persist
id of object or failure with exception
Perform an update action
Perform an update action
original object
run validation on input using default validator
function taking in original object returning an end result object to persist
id of object or failure with exception
Perform an update action
Perform an update action
id of object
run validation on input using validation function
function taking in original object returning an end result object to persist
id of object or failure with exception
Perform an update action
Perform an update action
id of object
run validation on input using default validator
function taking in original object returning an end result object to persist
id of object or failure with exception
For update action try to get the id from input or throw exception
For update action try to get the id from input or throw exception
For update action try to get the original
For update action try to get the original
id of object
Option of the original
For update action log a transaction on success.
For update action log a transaction on success. On failure through the correct exception
result of the chain of actions in update action
Build an update query.
Build an update query. Return id of object
object id to update
new object to store
Validate an input using NewAndOriginal wrapper
Validate an input using NewAndOriginal wrapper
wrapper around new and original value
DBIOAction of FormValidatorMessageSeq
Throw exception if validations fails
Throw exception if validations fails
DBIOAction of FormValidatorSeq from validation function
execution context
nothing or failure with FormValidatorExceptions
Take the queries generated and actually perform the action. Most functions return a nonblocking DBIOAction
slick table, extends aiqtable
case class to store result set rows
id type (option long and uuid)