mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
added static vars
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@299265 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
d2eb1917c4
commit
9bd7ff8479
1 changed files with 35 additions and 0 deletions
|
@ -77,6 +77,12 @@ $cursor->skip(4);
|
|||
<varname>slaveOkay</varname>
|
||||
<initializer>&false;</initializer>
|
||||
</fieldsynopsis>
|
||||
<fieldsynopsis>
|
||||
<modifier>static</modifier>
|
||||
<type>integer</type>
|
||||
<varname>timeout</varname>
|
||||
<initializer>20000</initializer>
|
||||
</fieldsynopsis>
|
||||
|
||||
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
|
||||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.mongocursor')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" />
|
||||
|
@ -85,6 +91,35 @@ $cursor->skip(4);
|
|||
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<title>Static Variables</title>
|
||||
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><property>MongoCursor::slaveOkay</property></term>
|
||||
<listitem>
|
||||
<para>
|
||||
If the query should have the "slaveOkay" flag set, which allows reads on
|
||||
the slave (slaves are, by default, just for backup and unreadable). Can
|
||||
be overridden with <function>MongoCursor::slaveOkay</function>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><property>MongoCursor::timeout</property></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Set timeout in milliseconds for all database responses. To wait forever,
|
||||
use -1. Can be overridden with <function>MongoCursor::timeout</function>.
|
||||
This does not cause the MongoDB server to cancel the operation, it just
|
||||
causes the driver to stop waiting for a response and throw a
|
||||
MongoCursorTimeoutException.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
|
|
Loading…
Reference in a new issue