PHP » GoLang |
login |
register |
about
|
GoLang TokyoTyrant::add
request it (387)
GoLang replacement for PHP's TokyoTyrant::add
[edit | history]
TokyoTyrant::add(PECL tokyo_tyrant >= 0.1.0) TokyoTyrant::add — Adds to a numeric key DescriptionAdds to an int or double value. This increments the value by the given amount and returns the new value. If the key does not exist a new key is created with initial value of the increment parameter. Parameters
Return ValuesReturns the new value on success Examples
Example #1 TokyoTyrant::add() example
<?php The above example will output something similar to: 6.5 See Also
|
more
Recently updated
more
Most requested
more
Last requests
|