Crate vorm

source ·
Expand description

Wrapper for database query and mutation.

Uses MongoDB, and implements an abstraction layer to make resource modeling less painful.

You’re advised to implement Clone, Debug, serde::Deserialize, and serde::Serialize, in the struct defining your data model, before implementing abstractions.

Structs

  • Represent common collection of a generic type of model.

Traits

  • Convenience trait for serializing a struct into a document.
  • Convenience trait for deserializing a document into a struct.

Functions

  • Get database through client initialized with given URI.