Skip to content

Internals Database Trait DoNotCache

Stefan Crkvenjakov edited this page Oct 7, 2026 · 1 revision

database\trait\DoNotCache

Framework Internals · Subsystem overview · Developer guide

Source: awt_src/classes/database/trait/DoNotCache.php · Snapshot 8411f4287706.

DatabaseManager delegates SQL generation to QueryBuilder, execution to IProvider, and result caching to ICache. Schema builders use MySQL DDL and the framework table registry.

DoNotCache

Declaration and architectural role

trait DoNotCache

Constants, enum cases, traits and properties

Declarations below preserve visibility, type, default and modifiers exactly. A typed property without an initializer remains uninitialized until its constructor or another method assigns it. Mutable fields belong to this instance unless marked static; readonly fields can be initialized once. Constructor-promoted properties are also listed below.

Member Declaration Purpose or source contract
$doNotCache protected bool $doNotCache = true; Declared extension/state field; no own method directly consumes it in this source file.

Clone this wiki locally