Skip to content

File table

Maruf Çetin edited this page Sep 1, 2026 · 2 revisions

File Extension: .table (Table Schema Definition)

Turkce Dokumantasyon | English Documentation

Category: File Formats & Storage
Location: dbstore/schema/${table_id}.table
Format: Perl Hash Definition File


1. Definition and Overview

The .table file defines the authoritative schema structure, field types, validation rules, indexing targets (search_block, match_block, facet_block, sort_block), routing parameters, and lifecycle behaviors for a specific AmberDB table.


2. Typical Schema Layout

{
    id_type      => 'ascii',
    auto_id      => 1,
    keep_deleted => 1,
    use_junk     => 1,
    search_block => [ 1, 4 ],
    match_block  => [ 1, 2 ],
    facet_block  => [ 1, 2 ],
    sort_block   => [ 3 ],
    fields => [
        { id => 'id',       name => 'ID',         type => 'auto_id' },
        { id => 'title',    name => 'Title',      type => 'text' },
        { id => 'category', name => 'Category',   type => 'text' },
        { id => 'price',    name => 'Price',      type => 'num' },
        { id => 'stock',    name => 'Stock',      type => 'num' },
    ],
}

3. See Also

AmberDB Encyclopedia

Home · A-Z Index


Getting Started & Guides


Core Concepts


Core CRUD Methods


Query, Search & Facets


Transactions & Locks


Cache, Buffer & Low-Level


Locale & Helpers


Maintenance & Tools


Configuration Flags


File Formats


Language

Clone this wiki locally