-module(mongo@utils). -compile([no_auto_import, nowarn_unused_vars]). -export_type([mongo_error/0, find_option/0, update_option/0]). -type mongo_error() :: {mongo_error, integer(), binary(), bson@value:value()}. -type find_option() :: {skip, integer()} | {limit, integer()} | {sort, bson@value:value()} | {projection, bson@value:value()}. -type update_option() :: upsert | {array_filters, list(bson@value:value())}.