import {Select} from '../../builder/type/Select.ts' export class ModelSelect extends Select { protected _withs: string[] = [] public with(related: string) { this._withs.push(related) return this } public get eager_relations(): string[] { return [...this._withs] } clone(): ModelSelect { const select = super.clone() as ModelSelect select._withs = this._withs return select } }