open fun update(vararg params: Any): Int
Overridden version of update that adds the given statement parameters to the queue rather than executing them immediately. All other update methods of the SqlUpdate base class go through this method and will thus behave similarly.
You need to call flush to actually execute the batch. If the specified batch size is reached, an implicit flush will happen; you still need to finally call flush to flush all statements.
params - array of parameter objects
Return
the number of rows affected by the update (always -1, meaning "not applicable", as the statement is not actually executed by this method)
See Also
#flush