Set.replaceSourceModel

void replaceSourceModel(gda.set_source.SetSource source, gda.data_model.DataModel model)

Replaces source->data_model with model, which must have the same characteristics as source->data_model (same column types)

Also for each #GdaHolder for which source->data_model is a source model, this method calls [gda.holder.Holder.setSourceModel] with model to replace the source by the new model

Parameters

sourcea pointer to a #GdaSetSource in set
modela #GdaDataModel