Skip to content

Method table_lastid

marufcetin edited this page Sep 1, 2026 · 1 revision

Method: table_lastid()

Turkce Dokumantasyon | English Documentation

Category: Core Table Methods
Submodule: AmberDB
Entry Type: Sequence Information


1. Definition and Overview

table_lastid() returns the highest / auto-increment primary key ID currently allocated in the specified table.


2. Syntax and Signature

my $last_id = $adb->table_lastid($table_id);

3. Practical Code Example

my $latest_id = $adb->table_lastid("catalog_product");
print "Highest Allocated Product ID: $latest_id\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