1
0
mirror of https://github.com/php/doc-es.git synced 2026-03-26 08:22:08 +01:00
Files
archived-doc-es/reference/mongo/mongotimestamp.xml
Pedro Antonio Gil Rodríguez ff8b7d6c9b Actualización a la última versión
git-svn-id: https://svn.php.net/repository/phpdoc/es/trunk@337050 c90b9560-bf6c-de11-be94-00142212c4b1
2015-06-24 22:36:43 +00:00

95 lines
2.9 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 40d18f45d506efd378219da25a71579c05e6e3e1 Maintainer: seros Status: ready -->
<!-- Reviewed: no -->
<phpdoc:classref xml:id="class.mongotimestamp" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
<title>La clase MongoTimestamp</title>
<titleabbrev>MongoTimestamp</titleabbrev>
<partintro>
<!-- {{{ MongoTimestamp intro -->
<section xml:id="mongotimestamp.intro">
&reftitle.intro;
<para>
<classname>MongoTimestamp</classname> es un tipo interno empleado por MongoDB
para la replicación y fragmentación. Consiste en una marca temporal (es decir, segundos
desde la época) de 4 bytes y un incremento de 4 bytes. Este tipo no está pensado
para almacenar valores de horas o fechas (p.ej., un campo "creadoEn" de un documento).
</para>
<note>
<simpara>
A menos que se esté escribiendo una aplicación que interactue con el registro de
operaciones de replicación o con los componentes de fragmentación de MongoDB: pare, vaya directamente a
<classname>MongoDate</classname>, sin pasar por la casilla de salida y sin cobrar 200
dólares. Esta no es la clase que está buscando.
</simpara>
</note>
</section>
<!-- }}} -->
<section xml:id="mongotimestamp.synopsis">
&reftitle.classsynopsis;
<!-- {{{ Synopsis -->
<classsynopsis>
<ooclass><classname>MongoTimestamp</classname></ooclass>
<!-- {{{ Class synopsis -->
<classsynopsisinfo>
<ooclass>
<classname>MongoTimestamp</classname>
</ooclass>
</classsynopsisinfo>
<!-- }}} -->
<classsynopsisinfo role="comment">Campos</classsynopsisinfo>
<fieldsynopsis>
<modifier>public</modifier>
<type>int</type>
<varname>sec</varname>
<initializer>0</initializer>
</fieldsynopsis>
<fieldsynopsis>
<modifier>public</modifier>
<type>int</type>
<varname>inc</varname>
<initializer>0</initializer>
</fieldsynopsis>
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.mongotimestamp')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" />
</classsynopsis>
<!-- }}} -->
</section>
</partintro>
&reference.mongo.entities.mongotimestamp;
</phpdoc:classref>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->