Engine

trait Engine extends Dialect

RDBMS engine interface It provides type mapping,default schema definition,key words,version etc.

Companion:
object
trait Dialect
class Object
trait Matchable
class Any

Value members

Abstract methods

def defaultSchema: String
def keywords: Set[String]
def name: String
def quoteChars: (Char, Char)
def toType(typeName: String): SqlType
def toType(sqlCode: Int): SqlType
def toType(sqlCode: Int, precision: Int): SqlType
def toType(sqlCode: Int, precision: Int, scale: Int): SqlType

Concrete methods

def needQuote(name: String): Boolean
def quote(name: String): String
def toIdentifier(literal: String): Identifier

Inherited methods

def alterTableAddColumn(table: Table, col: Column): List[String]
Inherited from:
Dialect
Inherited from:
Dialect
def alterTableAddPrimaryKey(table: Table, pk: PrimaryKey): String
Inherited from:
Dialect
Inherited from:
Dialect
def alterTableDropColumn(table: Table, col: Column): String
Inherited from:
Dialect
def alterTableDropConstraint(table: Table, name: String): String
Inherited from:
Dialect
def alterTableDropPrimaryKey(table: Table, pk: PrimaryKey): String
Inherited from:
Dialect
def alterTableModifyColumnDefault(table: Table, col: Column, v: Option[String]): String
Inherited from:
Dialect
Inherited from:
Dialect
Inherited from:
Dialect
def alterTableModifyColumnType(table: Table, col: Column, sqlType: SqlType): String
Inherited from:
Dialect
def alterTableRenameColumn(table: Table, col: Column, newName: String): String
Inherited from:
Dialect
def commentOnColumn(table: Table, column: Column, comment: Option[String]): Option[String]
Inherited from:
Dialect
def commentOnTable(table: String, comment: Option[String]): Option[String]
Inherited from:
Dialect
def commentsOnTable(table: Table, includeMissing: Boolean): List[String]
Inherited from:
Dialect
def createIndex(i: Index): String
Inherited from:
Dialect
def createSequence(seq: Sequence): String
Inherited from:
Dialect
def createTable(table: Table): String
Inherited from:
Dialect
def dropIndex(i: Index): String
Inherited from:
Dialect
def dropSequence(seq: Sequence): String
Inherited from:
Dialect
def dropTable(table: String): String
Inherited from:
Dialect
def insert(table: Table): String
Inherited from:
Dialect
def limit(query: String, offset: Int, limit: Int): (String, List[Int])

generate limit sql

generate limit sql

Value parameters:
offset

is 0 based

Inherited from:
Dialect
def query(table: Table): String
Inherited from:
Dialect
def supportSequence: Boolean
Inherited from:
Dialect