DbTable
Object Hierarchy:
Description:
[
CCode ( type_id =
"gda_db_table_get_type ()" ) ]
public class DbTable :
DbBase,
DbBuildable,
DdlModifiable
Content:
Properties:
- public string comment { owned get; set; }
- public string istemp { owned get; set; }
Static methods:
Creation methods:
Methods:
- public void append_column (DbColumn column)
Append column
to the internal list of columns
- public void append_constraint (string constr)
Adds global table constraint.
- public void append_fkey (DbFkey fkey)
Append fkey
to the internal list of columns
- public unowned List<DbColumn> get_columns ()
Use this method to obtain internal list of all columns.
- public unowned List<DbFkey> get_fkeys ()
Use this method to obtain internal list of all fkeys.
- public bool get_is_temp ()
- public bool is_valid ()
This method returns true if at least
one column is added to the table.
- public bool prepare_create (ServerOperation op, bool ifnotexists) throws Error
Populate op
with information stored in
this.
- public void set_is_temp (bool istemp)
Set if the table should be temporary or not.
- public bool update (MetaTable obj, Connection cnc) throws Error
With this method object obj
in the database available
through cnc
will be updated using ADD_COLUMN operation with information stored in this.
Inherited Members:
All known members inherited from class Gda.DbBase
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref
All known members inherited from interface Gda.DbBuildable
All known members inherited from interface Gda.DdlModifiable