add_statement


Description:

public void add_statement (owned Statement stmt)

Add stmt to the list of statements managed by this.

A Statement object can be added multiple times to a Batch object. The this increases reference count for stmt and the stmt instance can be freed using unref.

Parameters:

this

a Batch object

stmt

a statement to add to this's statements list