bsoneach v0.4.1 API Reference

Modules

Represents BSON binary type

Represents BSON DateTime type

Represents BSON JavaScript (with and without scope) types

Represents BSON ObjectId type

Represents BSON Regex type

Represents BSON Timestamp type

This module allows to apply callback function to each document in a BSON file

This module provides helper functions to correctly open files for BSONEach

This module provides recursive reader that applies a callback function for each document in a BSON file

Helper module that provides an easy way to write BSON fixtures generator

Helper module that allows to read and decode documents from IO stream one-by-one

This module creates stream of Elixir structures from a BSON file with one or many documents

This module defines a task that loads a whole BSON fixture and increments counter on each document

This module defines a task that uses BSONEach.each(&IO.inspect/1) to read bson file and increment counter on each document

This module defines a task to generate sample BSON file that can be used as fixture