table of contents
Mango::BSON::Timestamp(3pm) | User Contributed Perl Documentation | Mango::BSON::Timestamp(3pm) |
NAME¶
Mango::BSON::Timestamp - Timestamp type
SYNOPSIS¶
use Mango::BSON::Timestamp; my $ts = Mango::BSON::Timestamp->new(seconds => 23, increment => 5);
DESCRIPTION¶
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.
SEE ALSO¶
Mango, Mojolicious::Guides, <http://mojolicio.us>.
2020-06-05 | perl v5.30.3 |