EntityTableModulesCodeGenerator
slick.additions.codegen.EntityTableModulesCodeGenerator
class EntityTableModulesCodeGenerator extends TablesCodeGenerator
Uses slick-additions
EntityTableModule
to represent tables. Generates a custom profile object that mixes in AdditionsProfile
with an api
member that mixes in AdditionsApi
.
Models should be generated with KeylessModelsCodeGenerator.
Generated code requires slick-additions
.
Attributes
- Graph
-
- Supertypes
Members list
Value members
Concrete methods
Attributes
- Definition Classes
Attributes
- Definition Classes
Attributes
- Definition Classes
Inherited methods
override def codeString(rules: GenerationRules, slickProfileClass: Class[_ <: JdbcProfile])(implicit executionContext: ExecutionContext): DBIO[String]
Attributes
- Definition Classes
- Inherited from:
- TablesCodeGenerator
def codeString(rules: GenerationRules, slickProfileClassName: String)(implicit executionContext: ExecutionContext): DBIO[String]
Attributes
- Inherited from:
- BaseCodeGenerator
def codeStringFormatted(rules: GenerationRules, slickProfileClassName: String, scalafmtConfig: ScalafmtConfig)(implicit executionContext: ExecutionContext): DBIO[String]
Attributes
- Inherited from:
- BaseCodeGenerator
Attributes
- Inherited from:
- TablesCodeGenerator
Attributes
- Inherited from:
- BaseCodeGenerator
Attributes
- Inherited from:
- TablesCodeGenerator
Attributes
- Inherited from:
- TablesCodeGenerator
Attributes
- Inherited from:
- BaseCodeGenerator
Attributes
- Inherited from:
- BaseCodeGenerator
def writeToFileDBIO(baseDir: Path, slickConfig: Config, rules: GenerationRules)(implicit executionContext: ExecutionContext): DBIOAction[Path, NoStream, All]
Attributes
- Inherited from:
- BaseCodeGenerator
def writeToFileSync(baseDir: Path, slickConfig: Config, rules: GenerationRules, timeout: Duration)(implicit executionContext: ExecutionContext): Path
Attributes
- Inherited from:
- BaseCodeGenerator
In this article