BatchQuery

interface BatchQuery<V>

The BatchQuery interface is useful to manage the batch queries to insert or delete values in batch

Author

N7ghtm4r3 - Tecknobit

Parameters

<V>

The type of the item used in the query

Functions

Link copied to clipboard
abstract fun getColumns(): Array<String>
Method used to get the columns used in the query
Link copied to clipboard
abstract fun getData(): Collection<V>
Method used to get the data to use in the batch query
Link copied to clipboard
abstract fun prepareQuery(query: Query, index: Int, items: Collection<V>)
Method used to prepare the batch query such fill the parameters programmatically