toasty 0.11.0

An async ORM for Rust supporting SQL and NoSQL databases
Documentation
1
2
3
4
5
6
use toasty_core::stmt;

/// Wrap a loaded value to distinguish loaded NULL from an unloaded field.
pub(crate) fn loaded_expr(value: stmt::Expr) -> stmt::Expr {
    stmt::Expr::record([value])
}