import QueryTable from "../query-table"; import JoinedTablesChain from "./joined-tables-chain"; import QueryJoinCondition from "../condition/query-join-condition"; export default class JoinedTables> { constructor( protected _condition: QueryJoinCondition, protected _parent: JoinedTablesChain ) {} innerJoin>(table: JoinTable): JoinedTablesChain { return new JoinedTablesChain(table, 'inner', this); } leftJoin>(table: JoinTable): JoinedTablesChain { return new JoinedTablesChain(table, 'left', this); } rightJoin>(table: JoinTable): JoinedTablesChain { return new JoinedTablesChain(table, 'right', this); } fullJoin>(table: JoinTable): JoinedTablesChain { return new JoinedTablesChain(table, 'full', this); } }