PHP Doku:: Adds a record - tokyotyranttable.add.html

Verlauf / Chronik / History: (2) anzeigen

Sie sind hier:
Doku-StartseitePHP-HandbuchFunktionsreferenzDatenbankerweiterungenAnbieterspezifische Datenbankerweiterungentokyo_tyrantThe TokyoTyrantTable classTokyoTyrantTable::add

Ein Service von Reinhard Neidl - Webprogrammierung.

The TokyoTyrantTable class

<<The TokyoTyrantTable class

TokyoTyrantTable::genUid>>

TokyoTyrantTable::add

(PECL tokyo_tyrant >= 0.1.0)

TokyoTyrantTable::addAdds a record

Beschreibung

public void TokyoTyrantTable::add ( string $key , mixed $increment [, string $type ] )

This method is not supported with table databases.

Parameter-Liste

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.

Rückgabewerte

This method throws an TokyoTyrantException if used through this class.

Siehe auch


Keine BenutzerBeiträge.
- Beiträge aktualisieren...



PHP Powered Diese Seite bei php.net
The PHP manual text and comments are covered by the Creative Commons Attribution 3.0 License © the PHP Documentation Group - Impressum - mail("TO:Reinhard Neidl",...)