batchlight / co.yello.db.batchlight / BinderConfig
interface BinderConfig
Holds all the configurations for a Binder.
| Name | Summary |
|---|---|
| fieldsPerItem | abstract val fieldsPerItem: IntIf an object has 4 fields and only 3 should be written to the database this value should be set to 3. |
| maxFields | abstract val maxFields: Int |
| maxInsertBinder | abstract val maxInsertBinder: BinderHolds a reference to the max insert binder. This will be the most common case so it should be cached. |
| maxInsertSize | abstract val maxInsertSize: Int |
| startIndex | abstract val startIndex: Int |
| Name | Summary |
|---|---|
| buildBinder | abstract fun buildBinder(insertCount: Int): BinderCreates a Binder that has the given number of bind locations. |
| Name | Summary |
|---|---|
| SQLiteBinderConfig | class SQLiteBinderConfig : BinderConfigThe BinderConfig for Android SQLite. |
| SupportSQLiteBinderConfig | class SupportSQLiteBinderConfig : BinderConfigThe BinderConfig for Android Support SQLite. |