Schema
Object Hierarchy:
Description:
public class Schema : Object
Represents the schema information for a database table column.
This class is used to store and retrieve column metadata from SQLite tables, including column name, type, constraints, and default
values. It also provides caching functionality to avoid repeated schema queries.
Content:
Properties:
- public int cid { get; set; }
The column ID (ordinal position) in the table.
- public string ctype { get; set; }
The SQLite type of the column (e.g., "INTEGER", "TEXT", "INT64").
- public string dflt_value { get; set; }
The default value for the column as a string.
- public string name { get; set; }
The name of the column.
- public bool notnull { get; set; }
Whether the column has a NOT NULL constraint.
- public bool pk { get; set; }
Whether this column is part of the primary key.
Creation methods:
Methods:
Inherited Members:
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