Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
interface DialectType
Link copied to clipboard
interface ExposableType : SqlAnnotatedElement
Link copied to clipboard
data class IntermediateType(val dialectType: DialectType, val javaType: TypeName = dialectType.javaType, val column: SqlColumnDef? = null, val name: String = "value", val bindArg: SqlBindExpr? = null, val assumedCompatibleTypes: List<IntermediateType> = emptyList(), val simplified: Boolean = false)

Internal representation for a column type, which has dialect data affinity as well as JVM class type.

Link copied to clipboard
Link copied to clipboard
class PragmaWithResults(pragmaStmt: SqlPragmaStmt) : QueryWithResults
Link copied to clipboard

Types which are retrieved the same way for all dialects.

Link copied to clipboard
Link copied to clipboard
class ReturningQueryable(var statement: SqlAnnotatedElement, val select: QueryElement, tableName: SqlTableName?) : QueryWithResults

Query deriving from the RETURNING clause of an expression.

Link copied to clipboard
data class RuntimeTypes(val cursorType: ClassName, val preparedStatementType: ClassName)

Types that can be specified by each dialect for different driver components

Link copied to clipboard
class SelectQueryable(val select: SqlCompoundSelectStmt, var statement: SqlAnnotatedElement = select) : QueryWithResults
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class SqlDelightPragmaName(node: ASTNode?) : SqlPragmaNameImpl, QueryElement
Link copied to clipboard
Link copied to clipboard
interface TypeResolver

Functions

Link copied to clipboard
fun SqlAlterTableRules.alteredTable(file: SqlFileBase): SqlCreateTableStmt
Link copied to clipboard
fun TypeResolver.encapsulatingType(exprList: List<SqlExpr>, vararg typeOrder: DialectType): IntermediateType
fun TypeResolver.encapsulatingType(exprList: List<SqlExpr>, nullability: (List<Boolean>) -> Boolean?, vararg typeOrder: DialectType, preferKotlinType: Boolean = false): IntermediateType
Link copied to clipboard
fun TypeResolver.encapsulatingTypePreferringKotlin(exprList: List<SqlExpr>, vararg typeOrder: DialectType, nullability: (List<Boolean>) -> Boolean? = null): IntermediateType