import { FlightsRepository } from "https://deno.land/x/mandarinets@v2.3.2/tests/integration-tests/files/orm-tests-pg/orm.ts";
Methods
countByCaptain(captain: string)
countByTo(to: string)
deleteByCaptain(captain: string)
deleteByFlightIdOrTo(flightId: string, to: string)
findByAirline(airline: string)
findByAirlineAndFrom(airline: string, from: string)
findByCaptainAndAirline(captain: string, airline: string)
findByDurationGreaterThan(duration: number)
findByDurationGreaterThanOrDurationLessThanAndTo()
duration1: number,
duration2: number,
to: string,
findByDurationLessThan(duration: number)
findByFlightId<T>(id: string): T
findByFlightIdOrCaptain(flightId: string, captain: string)
findByFrom(from: string)
findByFromAndTo(from: string, to: string)
findByFromOrToAndAirline()
from: string,
to: string,
airline: string,