repetitive_statement_execute


Description:

[ Version ( since = "4.2" ) ]
public SList<Object> repetitive_statement_execute (RepetitiveStatement rstmt, StatementModelUsage model_usage, Type[]? col_types, bool stop_on_error) throws Error

Executes the statement upon which rstmt is built.

Note that as several statements can actually be executed by this method, it is recommended to be within a transaction.

If error is not null and stop_on_error is false, then it may contain the last error which occurred.

Parameters:

this

a Connection

rstmt

a RepetitiveStatement object

model_usage

specifies how the returned data model will be used as a StatementModelUsage enum

col_types

an array of GType to request each returned GdaDataModel's column's GType, see statement_execute_select_full for more information

stop_on_error

set to TRUE if the method has to stop on the first error.

Returns:

a new list of Object pointers (see statement_execute for more information about what they represent), one for each actual execution of the statement upon which rstmt is built. If stop_on_error is false, then the list may contain some null pointers which refer to statements which failed to execute.




2022 vala-language.org