TablesCodeGenerator
slick.additions.codegen.TablesCodeGenerator
class TablesCodeGenerator extends BaseCodeGenerator
Code generator for standard Slick table definitions. The generated code has no dependency on slick-additions.
Tables that have more than 22 fields are mapped by simply nesting tuples so that no single tuple has more than 22 elements.
Attributes
- Graph
-
- Supertypes
- Known subtypes
Members list
Value members
Concrete methods
override def codeString(rules: GenerationRules, slickProfileClass: Class[_ <: JdbcProfile])(implicit executionContext: ExecutionContext): DBIO[String]
Attributes
- Definition Classes
Inherited methods
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:
- BaseCodeGenerator
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