Method

CamelDBhas_table_with_column

unstable since: 3.58

Declaration [src]

gboolean
camel_db_has_table_with_column (
  CamelDB* cdb,
  const gchar* table_name,
  const gchar* column_name
)

Description [src]

Checks whether the table_name exists in the cdb and contains column named column_name.

Available since: 3.58

Parameters

table_name

Type: const gchar*

A table name.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.
column_name

Type: const gchar*

A table name.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.

Return value

Type: gboolean

TRUE, when the table_name exists and contains column_name column, FALSE when not or when any other error occurred.