mongo/utils

Types

pub type FindOption {
  Sort(types.Value)
  Projection(types.Value)
  Skip(Int)
  Limit(Int)
}

Constructors

  • Sort(types.Value)
  • Projection(types.Value)
  • Skip(Int)
  • Limit(Int)
pub type UpdateOption {
  Upsert(Bool)
  ArrayFilters(List(types.Value))
}

Constructors

  • Upsert(Bool)
  • ArrayFilters(List(types.Value))