Options
All
  • Public
  • Public/Protected
  • All
Menu

Class InanoSQLQueryBuilder

Hierarchy

  • InanoSQLQueryBuilder

Implemented by

Index

Constructors

constructor

  • new InanoSQLQueryBuilder(databaseID: string, db: InanoSQLInstance, table: string | any[] | function, queryAction: string | function, queryArgs?: any, actionOrView?: undefined | string): InanoSQLQueryBuilder

Properties

_AV

_AV: string

_db

_error

_error: string

_query

databaseID

databaseID: string

Static execMap

execMap: any

Methods

cache

  • cache(cacheReady: function, error: function, streamPages?: undefined | object): void
  • Parameters

    • cacheReady: function
        • (cacheId: string, recordCount: number): void
        • Parameters

          • cacheId: string
          • recordCount: number

          Returns void

    • error: function
        • (error: any): void
        • Parameters

          • error: any

          Returns void

    • Optional streamPages: undefined | object

    Returns void

comment

copyTo

distinct

emit

exec

  • exec(exportEvent?: undefined | false | true): Promise<object[]>
  • Parameters

    • Optional exportEvent: undefined | false | true

    Returns Promise<object[]>

extend

from

graph

groupBy

having

into

join

limit

listen

offset

on

orderBy

stream

  • stream(onRow: function, complete: function, err: function, exportEvent?: undefined | false | true): void
  • Parameters

    • onRow: function
        • (row: any): void
        • Parameters

          • row: any

          Returns void

    • complete: function
        • (): void
        • Returns void

    • err: function
        • (error: any): void
        • Parameters

          • error: any

          Returns void

    • Optional exportEvent: undefined | false | true

    Returns void

tag

toCSV

  • toCSV(headers?: undefined | false | true): Promise<string>
  • Parameters

    • Optional headers: undefined | false | true

    Returns Promise<string>

ttl

union

updateImmutable

where

Generated using TypeDoc