Options
All
  • Public
  • Public/Protected
  • All
Menu

Class _nanoSQLQueryBuilder

Hierarchy

  • _nanoSQLQueryBuilder

Implements

Index

Constructors

constructor

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

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(returnEvents?: undefined | false | true): Promise<any[]>
  • Parameters

    • Optional returnEvents: undefined | false | true

    Returns Promise<any[]>

extend

from

graph

groupBy

having

into

join

limit

listen

offset

on

orderBy

stream

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

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

          • row: any

          Returns void

    • Optional complete: undefined | function
    • Optional err: undefined | function
    • Optional events: 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

  • Selects a collection of rows from the database based on provided conditions.

    memberof

    _nanoSQLQueryBuilder

    Parameters

    • args: any[] | function

    Returns _nanoSQLQueryBuilder

Generated using TypeDoc