错误 [ExceptionsHandler] 无效的 `prisma.executeRaw()` 调用:错误 [ExceptionsHandler] 无效的 `prisma.executeRaw()` 调用:

ERROR [ExceptionsHandler] Invalid `prisma.executeRaw()` invocation: ERROR [ExceptionsHandler] Invalid `prisma.executeRaw()` invocation:

我的存储过程

创建或替换过程public.transfer_transactions( initiated_by 整数, OUT交易整数) 语言 'plpgsql' 作为$BODY$

    SELECT transaction_id INTO transaction
    FROM public."Transaction" 
    where initiated_by = initiated_by;

    SELECT transaction INTO transaction;

end; 

$BODY$;

从 nestjs prisma 客户端调用 sp

异步创建(createTransactionDto:CreateTransactionDto){

const [callGetSequenceBlock, queryString] = await this.prisma.$transaction([ this.prisma.$executeRawCALL transfer_transactions(${login_id},@transaction);, this.prisma.$queryRawSELECT @transaction FROM DUAL;, ]);

  return queryString;

}

执行时显示错误 API

无效的 prisma.executeRaw() 调用:

原始查询失败。代码:42703。消息:column "transaction_idout" does not exist

我尝试使用原始查询,它的功能

常量结果:procedureResult = await this.prisma .$queryRawCALL transfer_transactions( ${ct.initiated_by} );