Class QdbInteger
A signed 64-bit integer in the database.
- qdb\QdbEntry
-
qdb\QdbExpirableEntry
-
qdb\QdbInteger
Namespace: qdb
Example:
Example:
You get a QdbInteger instance by calling \QdbCluster::integer().
Then you can perform atomic operations on the integer:
$cluster->integer('key 0')->put(1); $cluster->integer('key 1')->update(2); $value2 = $cluster->integer('key 2')->get();
public
integer
|
|
public
integer
|
|
public
|
|
public
boolean
|
expiresAt(),
expiresFromNow(),
getExpiryTime()
|
alias(),
attachTag(),
attachTags(),
detachTag(),
getTags(),
hasTag(),
remove()
|