update : 2015.11.03
php.shukuma.com검색:
|
TokyoTyrantTable::put(PECL tokyo_tyrant >= 0.1.0) TokyoTyrantTable::put — Store a row 설명
public int TokyoTyrantTable::put
( string
$key
, array $columns
)
Puts a new row into the database. This method parameters are 인수
반환값Returns the primary key on success and throws TokyoTyrantException on error 예제
Example #1 TokyoTyrantTable::put() example
<?php 위 예제의 출력: array(2) { ["column1"]=> string(9) "some data" ["column2"]=> string(9) "more data" } array(2) { ["column1"]=> string(10) "other data" ["column2"]=> string(11) "better data" } |