[gnome-db] GdaEasy: gda_prepare_create_table



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

[1] http://bugzilla.gnome.org/attachment.cgi?id=121764&action="">
--
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)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]