PHP » GoLang |
login |
register |
about
|
GoLang TokyoTyrant::fwmKeys
request it (533)
GoLang replacement for PHP's TokyoTyrant::fwmKeys
[edit | history]
TokyoTyrant::fwmKeys(PECL tokyo_tyrant >= 0.1.0) TokyoTyrant::fwmKeys — Returns the forward matching keys Description
public array TokyoTyrant::fwmKeys
( string
$prefix
, int $max_recs
)Returns the forward matching keys from the database Parameters
Return ValuesReturns an array of matching keys. The values are not returned Examples
Example #1 TokyoTyrant::fwmKeys() example
<?phpThe above example will output something similar to:
array(5) {
[0]=>
string(5) "key_5"
[1]=>
string(6) "key_14"
[2]=>
string(5) "key_6"
[3]=>
string(6) "key_15"
[4]=>
string(5) "key_7"
}
|
more
Most requested
more
Last requests
|