Module rorm::crud

source ·
Expand description

This module holds the CRUD interface.

rorm’s crud is entirely based on the builder pattern. This means for every crud query (INSERT, SELECT, UPDATE, DELETE) there exists a builder struct whose methods allow you to set the various parameters.

To begin a builder it is recommended to use the associated macros insert!, query!, update! and delete!. The hide some of the generic details and may run some compile time checks.

Modules

  • This module provides primitives used by the various builder.
  • Decoder trait and some basic implementations
  • Delete builder and macro
  • Insert builder and macro
  • Query builder and macro
  • Trait for selecting stuff
  • Update builder and macro