Skip to content

Method slug_fetch

marufcetin edited this page Sep 1, 2026 · 1 revision

Method: slug_fetch()

Turkce Dokumantasyon | English Documentation

Category: Query & Search Methods
Submodule: AmberDB
Entry Type: URL Slug Retrieval


1. Definition and Overview

slug_fetch() retrieves the SEO URL slug string corresponding to a given Record ID from the forward slug index (_0.slg).


2. Syntax and Signature

my $slug_text = $adb->slug_fetch($table_id, $record_id);

3. Practical Code Example

my $slug = $adb->slug_fetch("catalog_product", 1001);
my $product_url = "/product/$slug";

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