Top of the DAO traits, this actually runs the actions in a transaction.
Take the queries generated and actually perform the action.
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)
Trait with functions to implement to perform validations.
Trait with functions to implement to perform validations. Functions need to return DBIOActions so that they can be included in transactions. You would probably do DBIO.successful(....)
model / slick case class
Simple form validator, we should probably spend more time on this and make it better.
Simple form validator, we should probably spend more time on this and make it better. Idea is that we can validate create or update, run db queries, and handle multiple validation errors
case class recordset
Trait that adds the ability to create functional hooks at different stages in write operations (for altering data or failing)
Trait that adds the ability to create functional hooks at different stages in write operations (for altering data or failing)
case class for recordsets
Implementation of handling queries with option[long] id
Implementation of handling queries with option[long] id
slick table, extends aiqtable
case class to store result set rows
Generates the base queries that most DAO classes will need
Generates the base queries that most DAO classes will need
slick table, extends aiqtable
case class to store result set rows
id type (option long and uuid)
Implementation of handling queries with UUID
Implementation of handling queries with UUID
slick table, extends aiqtable
case class to store result set rows
IdType that represents an id of Option[Long]
IdType that represents an id of Option[Long]
underlying value (Option[Long])
IdType that represents a UUID stored as an array[byte] / binary
IdType that represents a UUID stored as an array[byte] / binary
array[byte] representing the UUID
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.
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)
Exception class that wraps multiple validation errors
Class wrapping validation error messages
Class wrapping validation error messages
error message to return to user
optional code for easier parsing
Wrapper class around a seq of form validation messages / failures.
Wrapper class around a seq of form validation messages / failures. Empty means form validated correctly
seq of form validator messages
Any DAO model that has an id
Any DAO model that has an id
IdType
Functions for handling queries against the different id types
Functions for handling queries against the different id types
slick table, extends aiqtable
case class to store result set rows
id type (option long and uuid)
A table that has an IDType for an ID
A table that has an IDType for an ID
IDType
Defines the type of id that a table will have.
Defines the type of id that a table will have. Right now we have some with Option[Long] and some with UUID
The goal of this compile stage is to remove fields from update statements that should not be updated when using case classes.
The goal of this compile stage is to remove fields from update statements that should not be updated when using case classes. This is useful for updating using a case class and ignoring indexed fields, which would cause a deadlock. This only removes fields from updating using a case class, sqlu and updating specific fields are not affected by this compiler.
How it works: 1. Assumes ResultSetMapping state (probably after hoistClientOps). 2. Looks for fields in "from" with column option of IgnoreFieldForUpdate. Removes those. 3. Removes from mapper fields with same ordinal position as fields in #2. 4. Creates a new "wrapper" function around mapper (mapper function goes from case class to tuple) that will create a tuple without ignored fields.
Simple wrapper to pass new and original objects.
Simple wrapper to pass new and original objects. Using a case class makes it more explicit so you know which is new and which is original
Top of the DAO traits, this actually runs the actions in a transaction. Most functions return a scala future
slick table, extends aiqtable
case class to store result set rows
id type (option long and uuid)