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
$bins
public
mixed
$bins
$expiration
public
mixed
$expiration
$generation
public
mixed
$generation
$key
public
mixed
$key
$ttl
public
mixed
$ttl
Methods
bin()
Bins is the map of requested name/value bins.
public
bin(string $name) : mixed
Parameters
- $name : string
getBins()
Bins is the map of requested name/value bins.
public
getBins() : mixed
getExpiration()
Expiration is TTL (Time-To-Live).
public
getExpiration() : Expiration
Number of seconds until record expires.
Return values
ExpirationgetGeneration()
Generation shows record modification count.
public
getGeneration() : int|null
Return values
int|nullgetKey()
Key is the record's key.
public
getKey() : Key|null
Might be empty, or may only consist of digest value.
Return values
Key|nullgetTtl()
Expiration is TTL (Time-To-Live).
public
getTtl() : int|null
Number of seconds until record expires.