1Mango::BSON::Timestamp(U3s)er Contributed Perl DocumentatMiaonngo::BSON::Timestamp(3)
2
3
4

NAME

6       Mango::BSON::Timestamp - Timestamp type
7

SYNOPSIS

9         use Mango::BSON::Timestamp;
10
11         my $ts = Mango::BSON::Timestamp->new(seconds => 23, increment => 5);
12

DESCRIPTION

14       Mango::BSON::Timestamp is a container for the BSON timestamp type used
15       by Mango::BSON.
16

ATTRIBUTES

18       Mango::BSON::Timestamp implements the following attributes.
19
20   seconds
21         my $seconds = $ts->seconds;
22         $ts         = $ts->seconds(23);
23
24       Seconds.
25
26   increment
27         my $inc = $ts->increment;
28         $tz     = $ts->increment(5);
29
30       Increment.
31

METHODS

33       Mango::BSON::Timestamp inherits all methods from Mojo::Base.
34

SEE ALSO

36       Mango, Mojolicious::Guides, <http://mojolicio.us>.
37
38
39
40perl v5.34.0                      2021-07-22         Mango::BSON::Timestamp(3)
Impressum