Batchlight

batchlight / co.yello.db.batchlight / Binder

Binder

interface Binder

Provides way to bind values to any DB or ORM.

Functions

Name Summary
bindBlob abstract fun bindBlob(position: Int, blob: ByteArray): Unit
Binds a ByteArray at the given position.
bindDouble abstract fun bindDouble(position: Int, double: Double): Unit
Binds a Double at the given position.
bindLong abstract fun bindLong(position: Int, long: Long): Unit
Binds a Long at the given position.
bindNull abstract fun bindNull(position: Int): Unit
Binds a null value at the given position.
bindString abstract fun bindString(position: Int, string: String): Unit
Binds a String at the given position.
clear abstract fun clear(): Unit
Clears any bound values.
execute abstract fun execute(): Unit
Executes with any bound values.

Inheritors

Name Summary
AndroidSQLiteBinder class AndroidSQLiteBinder : Binder
The Binder implementation for SQLite on Android.
AndroidSupportSQLiteBinder class AndroidSupportSQLiteBinder : Binder
The Binder implementation for Support SQLite on Android.