Description Usage Arguments Details Value See Also Examples
Append a timestamp value into a mongo.bson.buffer.
1 | mongo.bson.buffer.append.timestamp(buf, name, value)
|
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 objects extend the "POSIXct" class to include an attrubute "increment".
See mongo.bson.buffer.append.time()
.
TRUE if successful; otherwise, FALSE if an error occured appending the data.
mongo.timestamp.create,
mongo.bson.buffer.append.time
,
mongo.bson.buffer.append
,
mongo.bson,
mongo.bson.buffer.
1 2 3 4 | buf <- mongo.bson.buffer.create()
mongo.bson.buffer.append.timestamp(buf, "Now-27",
mongo.timestamp.create(Sys.time(), 27))
b <- mongo.bson.from.buffer(buf)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.