Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "ancient-babilon/src/lib/proto-sql"

Index

Variables

Functions

Object literals

Variables

Const validators

validators: object = createValidators(rules)

Type declaration

Functions

Const createResolver

  • createResolver(options: any): (Anonymous function)

Object literals

Const resolverOptions

resolverOptions: object

_check

  • _check(last: any, flow: any): string

_column

  • _column(name: any): string

_logic

  • _logic(last: any, flow: any): string

_operator

  • _operator(last: any, flow: any): string

_param

  • _param(flow: any, data: any): string

add

  • add(last: any, flow: any): any

alias

  • alias(last: any, flow: any): string

and

  • and(last: any, flow: any): any

as

  • as(last: any, flow: any): string

data

  • data(last: any, flow: any): any

divide

  • divide(last: any, flow: any): any

eq

  • eq(last: any, flow: any): any

from

  • from(last: any, flow: any): any

group

  • group(last: any, flow: any): any

groups

  • groups(last: any, flow: any): any

gt

  • gt(last: any, flow: any): any

gte

  • gte(last: any, flow: any): any

limit

  • limit(last: any, flow: any): any

lt

  • lt(last: any, flow: any): any

lte

  • lte(last: any, flow: any): any

minus

  • minus(last: any, flow: any): any

multiply

  • multiply(last: any, flow: any): any

not

  • not(last: any, flow: any): any

or

  • or(last: any, flow: any): any

order

  • order(last: any, flow: any): string

orders

  • orders(last: any, flow: any): any

path

  • path(last: any, flow: any): string

plus

  • plus(last: any, flow: any): any

returns

  • returns(last: any, flow: any): any

select

  • select(last: any, flow: any): string

skip

  • skip(last: any, flow: any): any

union

  • union(last: any, flow: any): string

unionall

  • unionall(last: any, flow: any): string

variable

  • variable(last: any, flow: any): any

_checks

_checks: object

eq

eq: string = "="

gt

gt: string = ">"

gte

gte: string = ">="

lt

lt: string = "<"

lte

lte: string = "<="

not

not: string = "!="

_operators

_operators: object

add

add: string = "||"

divide

divide: string = "/"

minus

minus: string = "-"

multiply

multiply: string = "*"

plus

plus: string = "+"

Const rules

rules: object

expressions

expressions: object

add

add: object

all

all: string[] = [':get']

alias

alias: object

args

args: string[] = ['string', '?string']

and

and: object

all

all: string[] = [':get']

as

as: object

args

args: string[] = [':get','?string']

data

data: object

args

args: string[] = [':data']

divide

divide: object

all

all: string[] = [':get']

eq

eq: object

args

args: string[] = [':get',':get']

from

from: object

all

all: string[] = ['!alias']

group

group: object

args

args: string[] = ['!path']

groups

groups: object

all

all: string[] = ['!group']

gt

gt: object

args

args: string[] = [':get',':get']

gte

gte: object

args

args: string[] = [':get',':get']

limit

limit: object

args

args: string[] = ['number']

lt

lt: object

args

args: string[] = [':get',':get']

lte

lte: object

args

args: string[] = [':get',':get']

minus

minus: object

all

all: string[] = [':get']

multiply

multiply: object

all

all: string[] = [':get']

not

not: object

args

args: string[] = [':get',':get']

or

or: object

all

all: string[] = [':get']

order

order: object

args

args: string[] = ['!path','?boolean']

orders

orders: object

all

all: string[] = ['!order']

path

path: object

all

all: string[] = ['string']

args

args: string[] = ['string']

plus

plus: object

all

all: string[] = [':get']

returns

returns: object

all

all: string[] = ['!as','!path',':get']

select

select: object

all

all: string[] = ['!returns','!from','!and','!orders','!groups','!limit','!skip']

handle

handle: function = _rules.expressions.select.handle

Type declaration

    • (last: any, flow: any): any
    • Parameters

      • last: any
      • flow: any

      Returns any

unique

unique: boolean = true

skip

skip: object

args

args: string[] = ['number']

union

union: object

all

all: string[] = [':fetch']

unionall

unionall: object

all

all: string[] = [':fetch']

variable

variable: object

args

args: string[] = ['string']

types

types: object

check

check: string[] = ['!eq','!not','!gt','!gte','!lt','!lte']

data

data: string[] = ['string','number','boolean']

fetch

fetch: string[] = ['!select',':unions']

get

get: string[] = ['!data','!variable','!path',':logic',':check',':operator',':fetch']

logic

logic: string[] = ['!and','!or']

operator

operator: string[] = ['!add','!plus','!minus','!multiply','!divide']

unions

unions: string[] = ['!union','!unionall']

Generated using TypeDoc