import { Type, WrappedType } from "@simplysm/sd-core-common"; export class QueryUnit { constructor( readonly type: Type> | undefined, private readonly _query: any, ) {} get query(): any { return this._query; } notNull(): QueryUnit> { return this as any; } nullable(): QueryUnit { return this as any; } }