/opt/canhelp/node_modules/drizzle-orm
Edit: /opt/canhelp/node_modules/drizzle-orm/subquery.d.ts (1013B)
import { entityKind } from "./entity.js";
import type { SQL, SQLWrapper } from "./sql/sql.js";
export interface Subquery
= Record> extends SQLWrapper {
}
export declare class Subquery = Record> implements SQLWrapper {
static readonly [entityKind]: string;
_: {
brand: 'Subquery';
sql: SQL;
selectedFields: TSelectedFields;
alias: TAlias;
isWith: boolean;
};
constructor(sql: SQL, selection: Record, alias: string, isWith?: boolean);
}
export declare class WithSubquery = Record> extends Subquery {
static readonly [entityKind]: string;
}
export type WithSubqueryWithoutSelection = WithSubquery;