| PHP » GoLang | login |
            register |
            
            about | 
| GoLang MongoDB\Driver\ReadPreference::getMaxStalenessSeconds
                                request it (542)
                            GoLang replacement for PHP's MongoDB\Driver\ReadPreference::getMaxStalenessSeconds
                            [edit | history] 
                             PHP MongoDB\Driver\ReadPreference::getMaxStalenessSecondsPHP original manual for MongoDB\Driver\ReadPreference::getMaxStalenessSeconds [ show | php.net ]MongoDB\Driver\ReadPreference::getMaxStalenessSeconds(mongodb >=1.2.0) MongoDB\Driver\ReadPreference::getMaxStalenessSeconds — Returns the ReadPreference's "maxStalenessSeconds" option Description
   final public int MongoDB\Driver\ReadPreference::getMaxStalenessSeconds
    ( void
   ) ParametersThis function has no parameters. Return Values
   Returns the ReadPreference's "maxStalenessSeconds" option. If no max
   staleness has been specified,
    Errors/Exceptions
 ExamplesExample #1 MongoDB\Driver\ReadPreference::getMaxStalenessSeconds() example 
<?phpThe above example will output: int(-1) int(-1) int(90) int(1000) See Also | 
                    more
                     Most requested
 
                    more
                     Last requests
 |