pub async fn update_record_with_executor<'e, E, M, PK, I>(
executor: E,
descriptor: &'static ModelDescriptor<M, PK>,
id: PK,
input: I,
ctx: &CoolContext,
) -> Result<M, CoolError>where
E: Executor<'e, Database = Postgres>,
I: UpdateModelInput<M>,
for<'r> M: Send + Unpin + FromRow<'r, PgRow> + Serialize,
PK: Send + Type<Postgres> + for<'q> Encode<'q, Postgres>,