mongo.bson.buffer.append.timestamp: Append a timestamp value into a mongo.bson.buffer

Description Usage Arguments Details Value See Also Examples

View source: R/bson.R

Description

Append a timestamp value into a mongo.bson.buffer.

Usage

1

Arguments

buf

(mongo.bson.buffer) The buffer object to which to append.

name

(string) The name (key) of the field appended to the buffer.

value

A (mongo.timestamp) value as created by mongo.timestamp.create().

Details

mongo.timestamp objects extend the "POSIXct" class to include an attrubute "increment".

See mongo.bson.buffer.append.time().

Value

TRUE if successful; otherwise, FALSE if an error occured appending the data.

See Also

mongo.timestamp.create,
mongo.bson.buffer.append.time,
mongo.bson.buffer.append,
mongo.bson,
mongo.bson.buffer.

Examples

1
2
3
4

jonkatz2/rmongodb documentation built on May 19, 2019, 7:30 p.m.