utilityCheckDataModel

Check the column types of a GdaDataModel.

Parameters

model gda.data_model.DataModel

a #GdaDataModel object

types gobject.types.GType[]

array with nbcols length of type GType or null (if any data type is accepted)

Return Value

Type: bool

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