Skip to content

Method table_keys

marufcetin edited this page Sep 1, 2026 · 1 revision

Method: table_keys()

Turkce Dokumantasyon | English Documentation

Category: Core Table Methods
Submodule: AmberDB
Entry Type: Key Extraction


1. Definition and Overview

table_keys() returns an array of all active record IDs currently present in the table. It retrieves IDs directly from memory cache, the .inx primary index, or sequential table scans.


2. Syntax and Signature

my @all_ids = $adb->table_keys($table_id);

3. Practical Code Example

my @ids = $adb->table_keys("catalog_product");
print "Loaded " . scalar(@ids) . " product IDs.\n";

4. 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