Class OrmBrowserController

Hierarchy

  • OrmBrowserController

Implements

  • BrowserControllerInterface

Constructors

Properties

databases: Database<DatabaseAdapter>[]

Methods

  • Parameters

    • dbName: string
    • entityName: string
    • filter: {
          [name: string]: any;
      }
      • [name: string]: any

    Returns Promise<number>

  • Parameters

    • dbName: string
    • entityName: string

    Returns [Database<DatabaseAdapter>, ReflectionClass<any>]

  • Parameters

    • dbName: string
    • entityName: string
    • filter: {
          [name: string]: any;
      }
      • [name: string]: any
    • sort: {
          [name: string]: any;
      }
      • [name: string]: any
    • limit: number
    • skip: number

    Returns Promise<{
        executionTime: number;
        items: any[];
    }>

  • Parameters

    • name: string

    Returns Promise<{
        [name: string]: {
            diff: string;
            sql: string[];
        };
    }>

  • Parameters

    • dbName: HttpQuery<string, {}>
    • entityName: HttpQuery<string, {}>
    • query: HttpQuery<string, {}>

    Returns Promise<QueryResult>

  • Parameters

    • dbName: string
    • entityName: string
    • query: string

    Returns Promise<QueryResult>

Generated using TypeDoc