Gom.Command

g GObject.Object GObject.Object Gom.Command Gom.Command GObject.Object->Gom.Command

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

execute (cursor)

get_param_index (param_name)

reset ()

set_param (param, value)

set_param_double (param, value)

set_param_float (param, value)

set_param_int (param, value)

set_param_int64 (param, value)

set_param_string (param, value)

set_param_uint (param, value)

set_param_uint64 (param, value)

set_sql (sql)

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Name

Type

Flags

Short Description

adapter

Gom.Adapter

r/w/co

The Gom.Adapter for the command.

sql

str

w

The SQL for the command.

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent

GObject.Object

r

Class Details

class Gom.Command(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

Gom.CommandClass

execute(cursor)
Parameters:

cursor (Gom.Cursor) –

Raises:

GLib.Error

Return type:

bool

get_param_index(param_name)
Parameters:

param_name (str) –

Return type:

int

reset()
set_param(param, value)
Parameters:
set_param_double(param, value)
Parameters:
set_param_float(param, value)
Parameters:
set_param_int(param, value)
Parameters:
  • param (int) –

  • value (int) –

set_param_int64(param, value)
Parameters:
  • param (int) –

  • value (int) –

set_param_string(param, value)
Parameters:
  • param (int) –

  • value (str) –

set_param_uint(param, value)
Parameters:
  • param (int) –

  • value (int) –

set_param_uint64(param, value)
Parameters:
  • param (int) –

  • value (int) –

set_sql(sql)
Parameters:

sql (str) –

Property Details

Gom.Command.props.adapter
Name:

adapter

Type:

Gom.Adapter

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

The Gom.Adapter for the command.

Gom.Command.props.sql
Name:

sql

Type:

str

Default Value:

None

Flags:

WRITABLE

The SQL for the command.