Xqlite.Schema.SchemaObjectInfo (Xqlite v0.7.0)

View Source

Information about a schema object (table, view, etc.), corresponding to PRAGMA table_list. Note: PRAGMA table_list primarily lists tables, views, and virtual tables.

Summary

Types

t()

Struct definition.

Types

t()

@type t() :: %Xqlite.Schema.SchemaObjectInfo{
  column_count: non_neg_integer(),
  is_without_rowid: boolean(),
  name: String.t(),
  object_type: Xqlite.Schema.Types.object_type(),
  schema: String.t(),
  strict: boolean()
}

Struct definition.

  • :schema - Name of the schema containing the object (e.g., "main").
  • :name - Name of the object.
  • :object_type - The type of object (see t:Types.object_type/0).
  • :column_count - Number of columns (meaningful for tables/views).
  • :is_without_rowid - true if the table was created with the WITHOUT ROWID optimization, false otherwise. This is derived from the wr column in PRAGMA table_list.
  • :strict - true if the table was declared using STRICT mode, false otherwise.