bsoneach v0.4.1 BSON.Types.ObjectId

Represents BSON ObjectId type

Summary

Functions

Converts string representation of ObjectId to a BSON.Types.ObjectId struct

Converts BSON.Types.ObjectId struct to a string representation

Creates a new ObjectId from the consisting parts

Functions

decode!(arg)

Converts string representation of ObjectId to a BSON.Types.ObjectId struct

do_encode(arg)
encode!(object_id)

Converts BSON.Types.ObjectId struct to a string representation

new(machine_id, proc_id, secs, counter)

Creates a new ObjectId from the consisting parts