Home Reference Source
public class | since chrome-remote-interface-extra | source

Database

Utility class around querying browser databases

See:

Constructor Summary

Public Constructor
public

constructor(manager: DatabaseManager, database: CDPDatabase)

Member Summary

Private Members
private
private

Method Summary

Public Methods
public
public
public

id(): string

public
public
public
public

Public Constructors

public constructor(manager: DatabaseManager, database: CDPDatabase) source

Params:

NameTypeAttributeDescription
manager DatabaseManager
database CDPDatabase

Private Members

private _database: CDPDatabase source

private _manager: DatabaseManager source

Public Methods

public executeSQL(query: string): Promise<SQLQueryResults> source

Params:

NameTypeAttributeDescription
query string

The SQL query

See:

public id(): string source

Return:

string

public name(): string source

Return:

string

public toJSON(): CDPDatabase source

Return:

CDPDatabase

public toString(): string source

Return:

string

public version(): string source

Return:

string