Mango::BSON::Timestamp - Timestamp type
use Mango::BSON::Timestamp;
my $ts = Mango::BSON::Timestamp->new(seconds => 23, increment => 5);
Mango::BSON::Timestamp is a container for the BSON timestamp type used by
Mango::BSON.
Mango::BSON::Timestamp implements the following attributes.
my $seconds = $ts->seconds;
$ts = $ts->seconds(23);
Seconds.
my $inc = $ts->increment;
$tz = $ts->increment(5);
Increment.
Mango::BSON::Timestamp inherits all methods from Mojo::Base.
Mango, Mojolicious::Guides, <http://mojolicio.us>.