pub async fn create_record_with_executor<'e, E, M, PK, I>(
executor: E,
policy_pool: &Pool<Postgres>,
descriptor: &'static ModelDescriptor<M, PK>,
input: I,
ctx: &CoolContext,
) -> Result<M, CoolError>where
E: Executor<'e, Database = Postgres>,
I: CreateModelInput<M>,
M: for<'r> Send + for<'r> Unpin + for<'r> FromRow<'r, PgRow> + for<'r> Serialize,