I have sent a patch[1] for gda_prepare_create_table with add some flags to
create tables like:


CREATE TABLE test (id gint PRIMARY KEY, text gchar);

To create a GdaServerOperation with that you'll use
GDA_EASY_CREATE_TABLE_PKEY_FLAG for the first field but for the second
there's any flag to create it.

Then the patch add GDA_EASY_CREATE_TABLE_NOTHING_FLAG and
GDA_EASY_CREATE_TABLE_FKEY_FLAG, the last is to create foreing keys realy
easy.


Refer to Bug # 529794 <http://bugzilla.gnome.org/show_bug.cgi?id=529794>

[1] http://bugzilla.gnome.org/attachment.cgi?id=121764&action=view
-- 
Trabajar, la mejor arma para tu superación
"de grano en grano, se hace la arena" (R) (en trámite, pero para los cuates:
LIBRE)
_______________________________________________
gnome-db-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gnome-db-list

Reply via email to