import { EntityBase } from "../../types/EntityBase" ; import { IComparableQuery } from "./IComparableQuery" ; import { IQueryBase } from "./IQueryBase" ; import { ISelectQuery } from "./ISelectQuery" ; /**
 * Allows .where() to use the last joined entity's alias.
 */ export interface IJoinedQuery < T extends EntityBase , R extends T | T [ ] , P = T > extends IQueryBase < T , R , P > { param propertySelector select ( propertySelector ) : ISelectQuery < T , R , P > ; type { S } param propertySelector where < S extends Object > ( propertySelector ) : IComparableQuery < T , R , P > ; }