insert_row


Description:

public abstract unowned ModelIter insert_row (uint pos, Variant[] row_members)

As insert, but intended for language bindings or situations where you work with models on a meta level and may not have a priori knowledge of the column schemas of the models.

See also dee_model_build_row.

Parameters:

this

a Model

pos

The index to insert the row on. The existing row will be pushed down.

row_members

An array of Variants with type signature matching those of the column schemas of this. If any of the variants have floating references they will be consumed.

Returns:

A ModelIter pointing to the new row




2022 vala-language.org