#include <connection.h>
Inheritance diagram for Gnome::Gda::Connection:
Public Member Functions | |
virtual | ~Connection () |
GdaConnection * | gobj () |
Provides access to the underlying C GObject. | |
const GdaConnection * | gobj () const |
Provides access to the underlying C GObject. | |
GdaConnection * | gobj_copy () |
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. | |
bool | close () |
bool | is_open () const |
Glib::RefPtr< Client > | get_client () |
Glib::RefPtr< const Client > | get_client () const |
void | set_client (const Glib::RefPtr< Client > &client) |
ConnectionOptions | get_options () const |
Glib::ustring | get_server_version () const |
Glib::ustring | get_database () const |
Glib::ustring | get_dsn () const |
Glib::ustring | get_cnc_string () const |
Glib::ustring | get_provider () const |
Glib::ustring | get_username () const |
Glib::ustring | get_password () const |
void | add_error (const Glib::RefPtr< Error > &error) |
void | add_error (const Glib::ustring &error) |
void | add_error_list (GList *error_list) |
bool | change_database (const Glib::ustring &name) |
bool | create_database (const Glib::ustring &name) |
bool | drop_database (const Glib::ustring &name) |
Glib::ListHandle< Glib::RefPtr< DataModel > > | execute_command (const Command &cmd, const ParameterList ¶ms) |
Glib::ListHandle< Glib::RefPtr< DataModel > > | execute_command (const Command &cmd) |
Glib::RefPtr< DataModel > | execute_single_command (const Command &cmd, const ParameterList ¶ms) |
Glib::RefPtr< DataModel > | execute_single_command (const Command &cmd) |
Glib::RefPtr< DataModel > | execute_single_command (const Glib::ustring &cmd) |
int | execute_non_query (const Command &cmd, const ParameterList ¶ms) |
int | execute_non_query (const Command &cmd) |
bool | begin_transaction (const Glib::RefPtr< Transaction > &transaction) |
bool | commit_transaction (const Glib::RefPtr< Transaction > &transaction) |
bool | rollback_transaction (const Glib::RefPtr< Transaction > &transaction) |
Glib::ListHandle< Glib::RefPtr< Error > > | get_errors () |
Glib::ListHandle< Glib::RefPtr< const Error > > | get_errors () const |
bool | create_blob (GdaBlob *blob) |
bool | supports (ConnectionFeature feature) const |
Glib::RefPtr< DataModel > | get_schema (ConnectionSchema schema, const ParameterList ¶ms) |
Glib::RefPtr< const DataModel > | get_schema (ConnectionSchema schema, const ParameterList ¶ms) const |
Glib::RefPtr< DataModel > | get_schema (ConnectionSchema schema) |
Glib::RefPtr< const DataModel > | get_schema (ConnectionSchema schema) const |
Glib::ustring | get_last_insert_id (const Glib::RefPtr< DataModel > &recset) const |
Glib::SignalProxy1< void, GList * > | signal_error () |
Static Public Member Functions | |
static Glib::RefPtr< Connection > | create () |
Protected Member Functions | |
Connection () | |
virtual void | on_error (GList *error_list) |
Related Functions | |
(Note that these are not member functions.) | |
Glib::RefPtr< Gnome::Gda::Connection > | wrap (GdaConnection *object, bool take_copy=false) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Provides access to the underlying C GObject.
|
|
Provides access to the underlying C GObject.
|
|
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|