| 12345678910111213141516171819202122232425 |
- import { entityKind } from "./entity.js";
- class Subquery {
- static [entityKind] = "Subquery";
- constructor(sql, fields, alias, isWith = false, usedTables = []) {
- this._ = {
- brand: "Subquery",
- sql,
- selectedFields: fields,
- alias,
- isWith,
- usedTables
- };
- }
- // getSQL(): SQL<unknown> {
- // return new SQL([this]);
- // }
- }
- class WithSubquery extends Subquery {
- static [entityKind] = "WithSubquery";
- }
- export {
- Subquery,
- WithSubquery
- };
- //# sourceMappingURL=subquery.js.map
|