Current section

Files

Jump to
gleam_bson src bson@types.erl
Raw

src/bson@types.erl

-module(bson@types).
-compile(no_auto_import).
-export_type([value/0, kind/0]).
-type value() :: min |
max |
null |
{js, binary()} |
{str, binary()} |
{integer, integer()} |
{double, float()} |
{boolean, boolean()} |
{date_time, integer()} |
{timestamp, integer()} |
{array, list(value())} |
{object_id, bson@object_id:object_id()} |
{document, list({binary(), value()})}.
-type kind() :: {kind, bitstring()}.