PHP 7.4.0RC6 Released!

TokyoTyrantTable::add

(PECL tokyo_tyrant >= 0.1.0)

TokyoTyrantTable::addAdds 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 or TokyoTyrant::RDB_RECDBL constant. If this parameter is omitted the type is guessed from the increment parameters type.

Возвращаемые значения

This method throws an TokyoTyrantException if used through this class.

Смотрите также

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top