Home
native-driver / com.squareup.sqldelight.drivers.native
Package com.squareup.sqldelight.drivers.native
Platform and version requirements: native
Types
Name | Summary |
---|---|
ConnectionWrapper (native) |
sealed class ConnectionWrapper |
NativeSqliteDriver (native) |
class NativeSqliteDriver : ConnectionWrapper Native driver implementation. |
Functions
Name | Summary |
---|---|
wrapConnection (native) |
fun wrapConnection(connection: <ERROR CLASS>, block: (<ERROR CLASS>) -> Unit ): Unit Sqliter's DatabaseConfiguration takes lambda arguments for it's create and upgrade operations, which each take a DatabaseConnection argument. Use wrapConnection to have SqlDelight access this passed connection and avoid the pooling that the full SqlDriver instance performs. |