[gnome-db] GdaCommand.

Bas Driessen <[email protected]>
Newsgroups gmane.comp.gnome.db
Organization Xobas Software
Message-ID <1245754225.2851.425.camel@ams>
Hello,

In V3 there is GdaCommand. I use this to initialize as follows:

command = gda_command_new(buffer, GDA_COMMAND_TYPE_TABLE,
GDA_COMMAND_OPTION_STOP_ON_ERRORS)

Note the parameter GDA_COMMAND_TYPE_TABLE

This gave me the option to have a database table be represented in a
data model and by adding/editing/deleting rows from the data model, the
underlying database table is updated as well. 

To be complete the list was as follows:

typedef enum {

	GDA_COMMAND_TYPE_SQL,
	GDA_COMMAND_TYPE_XML,
	GDA_COMMAND_TYPE_PROCEDURE,
	GDA_COMMAND_TYPE_TABLE,
	GDA_COMMAND_TYPE_SCHEMA,
	GDA_COMMAND_TYPE_INVALID
} GdaCommandType;


How do I use GDA_COMMAND_TYPE_TABLE in V4? Can't find anything in the
docs.

Thanks,
Bas.

_______________________________________________
gnome-db-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gnome-db-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.