文字

TokyoTyrantTable::out

(PECL tokyo_tyrant >= 0.1.0)

TokyoTyrantTable::outRemove records

说明

public void TokyoTyrantTable::out ( mixed $keys )

Removes records from a table database.

参数

keys

A single integer key or an array of integers

返回值

This method returns the current object and throws TokyoTyrantException on failure.

范例

Example #1 TokyoTyrantTable::out() example

<?php

$tt  = new  TokyoTyrantTable ( "localhost" 1979 );


$index  $tt -> put ( null , array( "column1"  =>  "some data" "column2"  =>  "more data" ));


$tt -> out ( $index );
?>

参见

  • TokyoTyrantTable::put() - Store a row
上一篇: 下一篇: