downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

TokyoTyrant::out> <TokyoTyrant::getIterator
[edit] Last updated: Fri, 24 Jun 2011

view this page in

TokyoTyrant::num

(PECL tokyo_tyrant >= 0.1.0)

TokyoTyrant::numتعداد رکوردها در پایگاه داده

Description

public int TokyoTyrant::num ( void )

بازگرداندن تعداد رکوردها در پایگاه داده

Parameters

This function has no parameters.

Return Values

بازگرداندن تعداد رکوردها در پایگاه داده

Examples

Example #1 مثال TokyoTyrant::num()

<?php
/* Connect to a database on default port */
$tt = new TokyoTyrant("localhost");

/* Echo the number of records */
echo $tt->num();
?>

The above example will output something similar to:

1234

See Also



add a note add a note User Contributed Notes TokyoTyrant::num - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites