Methods
dump
- dump(site: Site, destinationFile?: string): Promise<string>
-
Parameters
-
-
Optional destinationFile: string
Returns Promise<string>
exec
- exec(site: Site, args: any[]): Promise<string>
-
Parameters
Returns Promise<string>
getTablePrefix
- getTablePrefix(site: Site, allPrefixes?: boolean, useDatabase?: boolean): Promise<string | string[]>
-
Parameters
-
-
Optional allPrefixes: boolean
-
Optional useDatabase: boolean
Returns Promise<string | string[]>
runQuery
- runQuery(site: Site, query: string): Promise<string>
-
Parameters
Returns Promise<string>
waitForDB
- waitForDB(site: Site, noPassword?: boolean): Promise<boolean>
-
Parameters
-
-
Optional noPassword: boolean
Returns Promise<boolean>