TypeResolver
interface TypeResolver
Functions
Link copied to clipboard
Link copied to clipboard
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
Link copied to clipboard
Resolves the type of dialect specific functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Enables a dialect to simplify a pure SQLDelight Intermediate Type into something the dialect can deal with natively. (ie Integer AS Boolean in SQLite can be handled without an adapter).