import { SQL_SYMBOLE } from '../sql'; import { Field } from '../expression'; import { ColumnsOf, DataRowValueType, DefaultRowObject, RowObject } from '../types'; import { Rowset } from './rowset'; /** * 具名SELECT语句,可用于子查询,With语句等 */ export declare class NamedSelect extends Rowset { readonly $type: SQL_SYMBOLE.NAMED_SELECT; $select: Select; $name: string; $alias: never; private constructor(); as(): never; static isNamedSelect(object: any): object is NamedSelect; static create(statement: Select, name: A): NamedSelect; } export declare type XNamedSelect = NamedSelect & { readonly [P in ColumnsOf]: Field, P>; }; import { Select } from '../statement/query/select';