Skip to content

Flag keep_deleted

marufcetin edited this page Sep 1, 2026 · 1 revision

Flag: keep_deleted

Turkce Dokumantasyon | English Documentation

Category: Configuration Flags
Type: Engine & Schema Option
Valid Values: 0, 1
Default: 0


1. Definition and Overview

keep_deleted enables soft-deletion archiving. When set to 1, calling delete_id() preserves the record by moving it into the .del archive table rather than physically destroying it.


2. Usage

# In Schema (.table)
keep_deleted => 1

# Or at Runtime
$adb->table_attr("catalog_product", keep_deleted => 1);

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