bsoneach v0.4.1 BSONEach.Mix.Utils

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

Summary

Functions

Creates fixture file with count elements of BSON records. Document contents are derived from record_cb function

Functions

create_fixture(path, count, record_cb)

Creates fixture file with count elements of BSON records. Document contents are derived from record_cb function.

record_cb function will receive element index as first argument.