Mongodb v0.2.0 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

Types

t()
t :: %BSON.ObjectId{value: <<_::96>>}

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