1Mango::BSON::Timestamp(U3s)er Contributed Perl DocumentatMiaonngo::BSON::Timestamp(3)
2
3
4
6 Mango::BSON::Timestamp - Timestamp type
7
9 use Mango::BSON::Timestamp;
10
11 my $ts = Mango::BSON::Timestamp->new(seconds => 23, increment => 5);
12
14 Mango::BSON::Timestamp is a container for the BSON timestamp type used
15 by Mango::BSON.
16
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
33 Mango::BSON::Timestamp inherits all methods from Mojo::Base.
34
36 Mango, Mojolicious::Guides, <http://mojolicio.us>.
37
38
39
40perl v5.28.1 2018-03-17 Mango::BSON::Timestamp(3)