1BSON_ITER_TIMESTAMP(3)              libbson             BSON_ITER_TIMESTAMP(3)
2
3
4

NAME

6       bson_iter_timestamp - bson_iter_timestamp()
7

SYNOPSIS

9          #define BSON_ITER_HOLDS_TIMESTAMP(iter) \
10             (bson_iter_type ((iter)) == BSON_TYPE_TIMESTAMP)
11
12          void
13          bson_iter_timestamp (const bson_iter_t *iter,
14                               uint32_t *timestamp,
15                               uint32_t *increment);
16

PARAMETERS

18       · iter: A bson_iter_t.
19
20       · timestamp: A uint32_t.
21
22       · increment: A uint32_t.
23

DESCRIPTION

25       The  BSON_TYPE_TIMESTAMP  type is not a date/time and is typically used
26       for intra-server communication.
27
28       You probably want bson_iter_date_time().
29
30       The bson_iter_timestamp() function  shall  return  the  contents  of  a
31       BSON_TYPE_TIMESTAMP  element. It is invalid to call this function while
32       observing an element that is not of type BSON_TYPE_TIMESTAMP.
33

AUTHOR

35       MongoDB, Inc
36
38       2017-present, MongoDB, Inc
39
40
41
42
431.16.2                           Feb 25, 2020           BSON_ITER_TIMESTAMP(3)
Impressum