Documentation

Record
in package

Record

Container object for a database record.

Table of Contents

Properties

$bins  : mixed
$expiration  : mixed
$generation  : mixed
$key  : mixed
$ttl  : mixed

Methods

bin()  : mixed
Bins is the map of requested name/value bins.
getBins()  : mixed
Bins is the map of requested name/value bins.
getExpiration()  : Expiration
Expiration is TTL (Time-To-Live).
getGeneration()  : int|null
Generation shows record modification count.
getKey()  : Key|null
Key is the record's key.
getTtl()  : int|null
Expiration is TTL (Time-To-Live).

Properties

Methods

getTtl()

Expiration is TTL (Time-To-Live).

public getTtl() : int|null

Number of seconds until record expires.

Return values
int|null

        
On this page

Search results