WireSaveableItems::getRaw()

Get the raw database row for an item by ID or name, bypassing any cache

Available since version 3.0.267.

Usage

$array = $wireSaveableItems->getRaw($key);

Arguments

NameType(s)Description
$keyint string

Item ID (int) or name (string)

Return value

array null

Associative array of raw DB columns, or null if not found


WireSaveableItems methods and properties

API reference based on ProcessWire core version 3.0.268