mirror of
https://github.com/aditama-labs/nest-autocrud.git
synced 2025-02-08 00:58:35 +00:00
9 lines
278 B
TypeScript
9 lines
278 B
TypeScript
import { ListProcess } from '@aditama-labs/nest-autocrud/skeleton';
|
|
import { PrismaProcess } from './prisma.process';
|
|
|
|
export class PrismaListProcess extends PrismaProcess implements ListProcess {
|
|
async process() {
|
|
this.result = await this.getDelegate().findMany();
|
|
}
|
|
}
|