GObject.Object
Gda.Column
Import line: | Gda = imports.gi.Gda; |
GIR File: | Gda-4.0.gir |
C documentation: | GdaColumn |
Class : | Column |
Extends: | GObject.Object |
Show / Hide Inherited methods, properties and signals |
Properties | Defined By | |
---|---|---|
id : String
|
Gda.Column | |
object : GObject.Object
read only
|
Gda.Column | |
priv : Gda.ColumnPrivate
read only
|
Gda.Column |
Method / Constructor | Defined By | |
---|---|---|
new Gda.Column
(Object properties)
Create a new Gda.Column
Create a new Gda.Column
|
||
copy
()
:
Gda.Column
Creates a new GdaColumn object from an existing one.
Creates a new GdaColumn object from an existing one. in column.
|
Gda.Column | |
get_allow_null
()
:
Boolean
Gets the 'allow null' flag of the given column.
Gets the 'allow null' flag of the given column.
|
Gda.Column | |
get_attribute
(String attribute)
:
GObject.Value
Get the value associated to a named attribute.
Get the value associated to a named attribute. Attributes can have any name, but Libgda proposes some default names, see this section.
|
Gda.Column | |
get_auto_increment
()
:
Boolean
|
Gda.Column | |
get_dbms_type
()
:
String
|
Gda.Column | |
get_default_value
()
:
GObject.Value
|
Gda.Column | |
get_description
()
:
String
|
Gda.Column | |
get_g_type
()
:
Number
|
Gda.Column | |
get_name
()
:
String
|
Gda.Column | |
get_position
()
:
Number
containing data model.
containing data model.
|
Gda.Column | |
set_allow_null
(Boolean allow)
:
none
Sets the 'allow null' flag of the given column.
Sets the 'allow null' flag of the given column.
|
Gda.Column | |
Set the value associated to a named attribute.
Set the value associated to a named attribute. The attribute string is 'stolen' by this method, and the memory it uses will be freed using the destroy function when no longer needed (if destroy is NULL, then the string will not be freed at all). Attributes can have any name, but Libgda proposes some default names, see this section. If there is already an attribute named attribute set, then its value is replaced with the new value (value is copied), except if value is NULL, in which case the attribute is removed. For example one would use it as:
gda_column_set_attribute (holder, g_strdup (my_attribute), g_free, my_value); gda_column_set_attribute (holder, GDA_ATTRIBUTE_NAME, NULL, my_value); does it modify the table definition of the tables used by a SELECT statement is the model was created from a SELECT statement).
|
Gda.Column | |
set_auto_increment
(Boolean is_auto)
:
none
Sets the auto increment flag for the given column.
Sets the auto increment flag for the given column.
|
Gda.Column | |
set_dbms_type
(String dbms_type)
:
none
Defines column's database type
Defines column's database type
|
Gda.Column | |
set_default_value
(Value default_value)
:
none
Sets column's default GValue.
Sets column's default GValue.
|
Gda.Column | |
set_description
(String title)
:
none
Sets the column's description
Sets the column's description
|
Gda.Column | |
set_g_type
(Number type)
:
none
Sets the type of column to type.
Sets the type of column to type.
|
Gda.Column | |
set_name
(String name)
:
none
Sets the name of column to name.
Sets the name of column to name.
|
Gda.Column | |
set_position
(Number position)
:
none
Sets the position of the column refer to in the containing data model.
Sets the position of the column refer to in the containing data model.
|
Gda.Column |
Event | Defined By | |
---|---|---|
|
Gda.Column | |
|
Gda.Column |
Class / Namespace | Method / Signal / Properties |
---|---|
Gda.DataModel
Method |
describe_column
(Number col)
:
Gda.Column
Queries the underlying data model implementation for a description of a given column.
|