Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Mjoin

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

  • new Mjoin(table: string): Mjoin

Properties

Static SetType

SetType: SetType = SetType

Methods

field

  • field(nameOrField: string): any
  • field(nameOrField: Field): any
  • Parameters

    • nameOrField: string

    Returns any

    Mjoin instance if adding a field, Field instance if getting a field.

  • Parameters

    Returns any

fields

get

  • get(): boolean
  • get(flag: boolean): Mjoin
  • Returns boolean

    True if gettable, false otherwise.

  • Parameters

    • flag: boolean

    Returns Mjoin

    Self for chaining

link

  • link(field1: string, field2: string): Mjoin
  • Parameters

    • field1: string
    • field2: string

    Returns Mjoin

    Self for chaining

name

  • name(): string
  • name(name: string): Mjoin

order

  • order(): string
  • order(order: string): Mjoin

set

table

  • table(): string
  • table(table: string): Mjoin

validator

where

  • where(): any[]
  • where(cond: any): Mjoin

Generated using TypeDoc