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 MongoError {
MongoError(code: Int, msg: String, source: types.Value)
}
Constructors
-
MongoError(code: Int, msg: String, source: types.Value)
pub type UpdateOption {
Upsert
ArrayFilters(List(types.Value))
}
Constructors
-
Upsert
-
ArrayFilters(List(types.Value))
Constants
pub const default_error: MongoError = MongoError(
code: -16,
msg: "",
source: types.Null,
)