Mango::BSON::Timestamp3pm
Timestamp type
Usage
use Mango::BSON::Timestamp;my $ts = Mango::BSON::Timestamp->new(seconds => 23, increment => 5);
Overview
Mango::BSON::Timestamp is a container for the BSON timestamp type used by Mango::BSON.
Attributes
Mango::BSON::Timestamp implements the following attributes.
seconds
my $seconds = $ts->seconds;$ts = $ts->seconds(23);
Seconds.
increment
my $inc = $ts->increment;$tz = $ts->increment(5);
Increment.
Methods
Mango::BSON::Timestamp inherits all methods from Mojo::Base.
Releases
6 releases since Debian 8 (Jessie); the text changed 3 times.