- PHP 手册
- 函数参考
- 数据库扩展
- 针对各数据库系统对应的扩展
- tokyo_tyrant
- TokyoTyrantTable
TokyoTyrantTable::add
(PECL tokyo_tyrant >= 0.1.0)
TokyoTyrantTable::add — Adds a record
说明
public TokyoTyrantTable::add ( string$key
, mixed $increment
[, string $type
] ) : void
This method is not supported with table databases.
参数
-
key
-
The string key
-
increment
-
The amount to increment
-
type
-
TokyoTyrant::RDB_RECINT
orTokyoTyrant::RDB_RECDBL
constant. If this parameter is omitted the type is guessed from theincrement
parameters type.
返回值
This method throws an TokyoTyrantException if used through this class.
参见
- TokyoTyrant::add() - Adds to a numeric key
User Contributed Notes
There are no user contributed notes for this page.官方地址:https://www.php.net/manual/en/tokyotyranttable.add.php