Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • SiteDatabase

Index

Methods

dump

  • dump(site: Site, destinationFile?: string): Promise<string>
  • Parameters

    • site: Site
    • Optional destinationFile: string

    Returns Promise<string>

exec

  • exec(site: Site, args: any[]): Promise<string>

getTablePrefix

  • getTablePrefix(site: Site, allPrefixes?: boolean, useDatabase?: boolean): Promise<string | string[]>
  • Parameters

    • site: Site
    • Optional allPrefixes: boolean
    • Optional useDatabase: boolean

    Returns Promise<string | string[]>

listen

  • listen(): void

runQuery

  • runQuery(site: Site, query: string): Promise<string>
  • Parameters

    • site: Site
    • query: string

    Returns Promise<string>

waitForDB

  • waitForDB(site: Site, noPassword?: boolean): Promise<boolean>
  • Parameters

    • site: Site
    • Optional noPassword: boolean

    Returns Promise<boolean>

Generated using TypeDoc