binder

abstract fun binder(bind: Bind, item: T)

Binds the properties of the given item to the provided bind instance.

This method is responsible for mapping a Kotlin object's fields to the corresponding database statement parameters.

Author

MOHAMMAD AZIM ANSARI

Parameters

bind

The Bind object used to set the values for the database operation.

item

The object of type T to be persisted or used in a query.

See also