Class

SeagullStatement

since: 0.3

Description [src]

final class Seagull.Statement : GObject.Object
  implements Gio.Initable {
  /* No available fields */
}

A wrapper around sqlite3_stmt to make it easier to work with named parameters.

Available since: 0.3

Ancestors

Implements

Constructors

seagull_statement_new

Creates a new prepared statement.

since: 0.3

seagull_statement_new_from_resource

Creates a new prepared statement from a resource.

since: 0.4

Instance methods

seagull_statement_bind_boolean

Binds a boolean to the named parameter.

unstable since: 0.6

seagull_statement_bind_date_time

Binds a GDateTime to the named parameter.

since: 0.5

seagull_statement_bind_double

Binds a double value to the named parameter.

since: 0.3

seagull_statement_bind_enum

Binds an enum value to the named parameter.

since: 0.5

seagull_statement_bind_flags

Binds a flags value to the named parameter.

since: 0.5

seagull_statement_bind_int

Binds an integer value to the named parameter.

since: 0.3

seagull_statement_bind_null

Binds a NULL value to the named parameter.

since: 0.3

seagull_statement_bind_object

Binds an object to the query.

seagull_statement_bind_text

Binds a text value to the named parameter.

since: 0.3

seagull_statement_clear_bindings

Clears all of the bindings.

since: 0.3

seagull_statement_column_boolean

Gets the value of a column from the current result of a statement.

unstable since: 0.6

seagull_statement_column_double

Gets the value of a column from the current result of a statement.

since: 0.3

seagull_statement_column_enum

Gets the value of a column from the current result of a statement.

since: 0.5

seagull_statement_column_flags

Gets the value of a column from the current result of a statement.

since: 0.5

seagull_statement_column_int

Gets the value of a column from the current result of a statement.

since: 0.3

seagull_statement_column_object

Updates the properties of any object based on the current result of a statement.

since: 0.3

seagull_statement_column_text

Gets the value of a column from the current result of a statement.

since: 0.3

seagull_statement_get_db

Gets the database.

since: 0.3

seagull_statement_get_expanded_sql

Gets the SQL statement with parameters expanded.

since: 0.3

seagull_statement_get_sql

Gets the SQL statement.

since: 0.3

seagull_statement_get_stmt

Gets the underlying SQLite3 statement.

since: 0.3

seagull_statement_reset

Resets the statement to its initial state.

since: 0.3

seagull_statement_step

Evaluates the statement.

since: 0.3

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Methods inherited from GInitable (1)
g_initable_init

Initializes the object implementing the interface.

Properties

Seagull.Statement:db

The SQLite database connection.

since: 0.3

Seagull.Statement:sql

The raw SQL statement.

since: 0.3

Seagull.Statement:stmt

The underlying sqlite3_stmt.

since: 0.3

Signals

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct SeagullStatementClass {
  GObjectClass parent_class;
  
}

No description available.

Class members
parent_class: GObjectClass

No description available.