Initial commit
This commit is contained in:
24
node_modules/drizzle-orm/subquery.js
generated
vendored
Normal file
24
node_modules/drizzle-orm/subquery.js
generated
vendored
Normal file
@ -0,0 +1,24 @@
|
||||
import { entityKind } from "./entity.js";
|
||||
class Subquery {
|
||||
static [entityKind] = "Subquery";
|
||||
constructor(sql, selection, alias, isWith = false) {
|
||||
this._ = {
|
||||
brand: "Subquery",
|
||||
sql,
|
||||
selectedFields: selection,
|
||||
alias,
|
||||
isWith
|
||||
};
|
||||
}
|
||||
// getSQL(): SQL<unknown> {
|
||||
// return new SQL([this]);
|
||||
// }
|
||||
}
|
||||
class WithSubquery extends Subquery {
|
||||
static [entityKind] = "WithSubquery";
|
||||
}
|
||||
export {
|
||||
Subquery,
|
||||
WithSubquery
|
||||
};
|
||||
//# sourceMappingURL=subquery.js.map
|
||||
Reference in New Issue
Block a user