## GnomeDbQueryBuilder

GnomeDbQueryBuilder —

##

# Synopsis

    struct      GnomeDbQueryBuilderPrivate;
    GtkWidget*  gnome_db_query_builder_new      (GdaConnection *cnc);
    GdaConnection* gnome_db_query_builder_get_connection
                                                (GnomeDbQueryBuilder *builder);
    void        gnome_db_query_builder_set_connection
                                                (GnomeDbQueryBuilder *builder,
                                                 GdaConnection *cnc);

## Description

## Details

### struct GnomeDbQueryBuilderPrivate

    struct GnomeDbQueryBuilderPrivate;

### gnome_db_query_builder_new ()

    GtkWidget*  gnome_db_query_builder_new      (GdaConnection *cnc);

Create a new GnomeDbQueryBuilder widget, which presents a visual way of building SQL queries.

`cnc` : | A GdaConnection object.
Returns : | the newly-created widget.

### gnome_db_query_builder_get_connection ()

    GdaConnection* gnome_db_query_builder_get_connection
                                                (GnomeDbQueryBuilder *builder);

Get the GdaConnection associated with the given query builder widget.

`builder` : | A GnomeDbQueryBuilder widget.
Returns : | the associated connection.

### gnome_db_query_builder_set_connection ()

    void        gnome_db_query_builder_set_connection
                                                (GnomeDbQueryBuilder *builder,
                                                 GdaConnection *cnc);

Associate a GdaConnection with the given query builder widget.

`builder` : | A GnomeDbQueryBuilder widget.
`cnc` : | The connection to use in the widget.