Skip to content
Snippets Groups Projects
Commit 7838f9a8 authored by stevereis's avatar stevereis
Browse files

Add grouping property on results

parent 11c4dd7e
No related branches found
No related tags found
No related merge requests found
import { Field, ObjectType } from '@nestjs/graphql';
@ObjectType()
export abstract class Result {
@Field({ nullable: true })
groupBy?: string;
}
import { Field, ObjectType } from '@nestjs/graphql';
import { MetaData } from './common/metadata.model';
import { Result } from './result.model';
@ObjectType()
export class TableResult {
export class TableResult extends Result {
@Field()
name: string;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment