-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Vivien,
Vivien Malerba wrote:
>
>
> There is no reason the default GdaDataModel iter's implementation shouldsure here it is. Just compile and execute with
> not work. Can you send me a standalone version of your code so I can try
> to figure out what the problem is?
>
> Anyway, even though the GdaDataModelIter is not an interface, you can
> still subclass it if you need, and then implement the
> GdaDataModel::i_create_iter method to instanciate your own GdaDataModelIter.
>
gcc gda-data-model-concat.c example.c `pkg-config --cflags --libs
libgda-4.0` `pkg-config --cflags --libs glib-2.0` -o example && ./example
As you see from the example, I first try to use the GdaDataModelIter,
unsuccesfully, secondly I just try to query the items directly from the
GdaDataModelConcat, successfully.
Honestly I didn't get why gda-data-model has a virtual method
gda_data_model_iter_at_row, which seems to be implemented in
GdaDataSelect but with too much logic.
Attachment:
DataModelConcat.tbz
Description: application/bzip-compressed-tar