Trait sea_orm::TryGetableFromJson
source · pub trait TryGetableFromJson: Sizedwhere
for<'de> Self: Deserialize<'de>,{
fn try_get_from_json(
res: &QueryResult,
pre: &str,
col: &str
) -> Result<Self, TryGetError> { ... }
}
Expand description
Perform a query on multiple columns
Provided Methods
sourcefn try_get_from_json(
res: &QueryResult,
pre: &str,
col: &str
) -> Result<Self, TryGetError>
fn try_get_from_json(
res: &QueryResult,
pre: &str,
col: &str
) -> Result<Self, TryGetError>
Ensure the type implements this method