Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/mandarinets/tests/integration-tests/files/orm-tests-pg/orm.ts>FlightsRepository

Mandarine.TS is a typescript, decorator-driven framework that allows you to create server-side applications. Mandarine.TS provides a range of built-in solutions such as Dependency Injection, Components, ORM and more. Under its umbrella, Mandarine.TS has 4 modules: Core, Data, Security and MVC, these modules will offer you the requirements to build a Mandarine-powered application.
Latest
class FlightsRepository
Abstract
import { FlightsRepository } from "https://deno.land/x/mandarinets@v2.3.2/tests/integration-tests/files/orm-tests-pg/orm.ts";

Constructors

new
FlightsRepository()

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,
)