Function object_cache::app_db::save_if_not_exist
source · pub async fn save_if_not_exist<T>(
connection_pool: &Pool<Sqlite>,
obj: &T
) -> Result<(), AppError>where
T: ?Sized + Serialize + DeserializeOwned + Debug + DbCache,