Trait sea_orm::TryGetableFromJson
source · [−]pub trait TryGetableFromJson: Sized where
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
fn 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