import {Runnable} from '../../databases/database_context' import {SelectStatement} from '../../statements/select_statement' import {createMultiTableSelection} from '../../parsing/selection/multi_table_selection_parsing' export class SelectExpectedSetOfRows implements Runnable { constructor(public statement: SelectStatement) {} readonly clientInstruction = 'expect-set-of-rows' } export function selectExpectedSetOfRows( statement: SelectStatement, names: string[]): SelectExpectedSetOfRows { return new SelectExpectedSetOfRows( { ...statement, selection: createMultiTableSelection(names) }) }