AnyMongo

 view release on metacpan or  search on metacpan

lib/AnyMongo/BSON/Timestamp.pm  view on Meta::CPAN

package AnyMongo::BSON::Timestamp;
BEGIN {
  $AnyMongo::BSON::Timestamp::VERSION = '0.03';
}
# ABSTRACT: BSON Timestamps data type, it is used internally by MongoDB's replication.
use strict;
use warnings;
use namespace::autoclean;
use Any::Moose;


has sec => (
    is       => 'ro',
    isa      => 'Int',
    required => 1,
);


has inc => (
    is       => 'ro',
    isa      => 'Int',
    required => 1,
);


# __PACKAGE__->meta->make_immutable (inline_destructor => 0);
__PACKAGE__->meta->make_immutable;
1;


=pod

=head1 NAME

AnyMongo::BSON::Timestamp - BSON Timestamps data type, it is used internally by MongoDB's replication.

=head1 VERSION

version 0.03

=head1 SYNOPSIS

=head1 DESCRIPTION

=head1 ATTRIBUTES

=head2 sec

Seconds since epoch.

=head2 inc

Incrementing field.

=head1 NAME

AnyMongo::Timstamp 

=head1 AUTHOR

=head1 COPYRIGHT

=head1 AUTHORS

=over 4

=item *



( run in 1.655 second using v1.01-cache-2.11-cpan-5837b0d9d2c )