2009/1/9 Piotr Pokora
<piotrek pokora gmail com>
Vivien Malerba writes:
Hi!
>
> The gda_connection_get_schema() with GDA_CONNECTION_SCHEMA_FIELDS which
> sould give you a boolean if the field has a unique index associsted to it.
Thanks! What about GDA_CONNECTION_SCHEMA_INDEXES ?
It gives you the list of indexes, not the fields on which they apply.
>
> I need something which works.
>
>
> Depending on which provider you use YMMV as meta data retreival was
> never correctly and completely defined. Libgda V4 will be much better
> regarding meta data.
Yep. But V4 is not included in distros :(
Yes, it's not finished (and anyway does not support indexes yet).
Vivien