bsoneach v0.3.2 BSON.ObjectId

Represents BSON ObjectId type

Summary

Functions

Converts string representation of ObjectId to a BSON.ObjectId struct

Converts BSON.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.ObjectId struct

do_encode(arg)
encode!(object_id)

Converts BSON.ObjectId struct to a string representation

new(machine_id, proc_id, secs, counter)

Creates a new ObjectId from the consisting parts