#[derive(DeriveValueType)]
{
// Attributes available to this derive:
#[sea_orm]
}
Expand description
Implements traits for types that wrap a database value type.
This procedure macro implements From<T> for Value, sea_orm::TryGetTable, and
sea_query::ValueType for the wrapper type T.
ยงUsage
use sea_orm::DeriveValueType;
#[derive(DeriveValueType)]
struct MyString(String);