utilityCheckDataModel

fnbool utilityCheckDataModel(gda.data_model.DataModel model, gobject.types.GType[] types)

Check the column types of a GdaDataModel.

Parameters

modela #GdaDataModel object
typesarray with nbcols length of type GType or null (if any data type is accepted)

Returns

true if the data model's columns match the provided data types and number