package database

Import Path
	github.com/chromedp/cdproto/database (on go.dev)

Dependency Relation
	imports 6 packages, and imported by one package

Involved Source Files Package database provides the Chrome DevTools Protocol commands, types, and events for the Database domain. Generated by the cdproto-gen command. easyjson.go events.go types.go
Package-Level Type Names (total 10)
/* sort by: | */
Database database object. See: https://chromedevtools.github.io/devtools-protocol/tot/Database#type-Database // Database domain. // Database ID. // Database name. // Database version. MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface Database : github.com/goccy/go-json.Marshaler *Database : github.com/goccy/go-json.Unmarshaler Database : github.com/mailru/easyjson.Marshaler *Database : github.com/mailru/easyjson.MarshalerUnmarshaler *Database : github.com/mailru/easyjson.Unmarshaler Database : encoding/json.Marshaler *Database : encoding/json.Unmarshaler
DisableParams disables database tracking, prevents database events from being sent to the client. Do executes Database.disable against the provided context. MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface *DisableParams : github.com/chromedp/chromedp.Action *DisableParams : github.com/chromedp/chromedp.CallAction *DisableParams : github.com/chromedp/chromedp.EmulateAction *DisableParams : github.com/chromedp/chromedp.EvaluateAction *DisableParams : github.com/chromedp/chromedp.KeyAction *DisableParams : github.com/chromedp/chromedp.MouseAction *DisableParams : github.com/chromedp/chromedp.NavigateAction *DisableParams : github.com/chromedp/chromedp.PollAction *DisableParams : github.com/chromedp/chromedp.QueryAction DisableParams : github.com/goccy/go-json.Marshaler *DisableParams : github.com/goccy/go-json.Unmarshaler DisableParams : github.com/mailru/easyjson.Marshaler *DisableParams : github.com/mailru/easyjson.MarshalerUnmarshaler *DisableParams : github.com/mailru/easyjson.Unmarshaler DisableParams : encoding/json.Marshaler *DisableParams : encoding/json.Unmarshaler func Disable() *DisableParams
EnableParams enables database tracking, database events will now be delivered to the client. Do executes Database.enable against the provided context. MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface *EnableParams : github.com/chromedp/chromedp.Action *EnableParams : github.com/chromedp/chromedp.CallAction *EnableParams : github.com/chromedp/chromedp.EmulateAction *EnableParams : github.com/chromedp/chromedp.EvaluateAction *EnableParams : github.com/chromedp/chromedp.KeyAction *EnableParams : github.com/chromedp/chromedp.MouseAction *EnableParams : github.com/chromedp/chromedp.NavigateAction *EnableParams : github.com/chromedp/chromedp.PollAction *EnableParams : github.com/chromedp/chromedp.QueryAction EnableParams : github.com/goccy/go-json.Marshaler *EnableParams : github.com/goccy/go-json.Unmarshaler EnableParams : github.com/mailru/easyjson.Marshaler *EnableParams : github.com/mailru/easyjson.MarshalerUnmarshaler *EnableParams : github.com/mailru/easyjson.Unmarshaler EnableParams : encoding/json.Marshaler *EnableParams : encoding/json.Unmarshaler func Enable() *EnableParams
Error database error. See: https://chromedevtools.github.io/devtools-protocol/tot/Database#type-Error // Error code. // Error message. MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface Error : github.com/goccy/go-json.Marshaler *Error : github.com/goccy/go-json.Unmarshaler Error : github.com/mailru/easyjson.Marshaler *Error : github.com/mailru/easyjson.MarshalerUnmarshaler *Error : github.com/mailru/easyjson.Unmarshaler Error : encoding/json.Marshaler *Error : encoding/json.Unmarshaler func (*ExecuteSQLParams).Do(ctx context.Context) (columnNames []string, values []easyjson.RawMessage, sqlError *Error, err error)
EventAddDatabase [no description]. See: https://chromedevtools.github.io/devtools-protocol/tot/Database#event-addDatabase Database *Database MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface EventAddDatabase : github.com/goccy/go-json.Marshaler *EventAddDatabase : github.com/goccy/go-json.Unmarshaler EventAddDatabase : github.com/mailru/easyjson.Marshaler *EventAddDatabase : github.com/mailru/easyjson.MarshalerUnmarshaler *EventAddDatabase : github.com/mailru/easyjson.Unmarshaler EventAddDatabase : encoding/json.Marshaler *EventAddDatabase : encoding/json.Unmarshaler
ExecuteSQLParams [no description]. DatabaseID ID Query string Do executes Database.executeSQL against the provided context. returns: columnNames values sqlError MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface ExecuteSQLParams : github.com/goccy/go-json.Marshaler *ExecuteSQLParams : github.com/goccy/go-json.Unmarshaler ExecuteSQLParams : github.com/mailru/easyjson.Marshaler *ExecuteSQLParams : github.com/mailru/easyjson.MarshalerUnmarshaler *ExecuteSQLParams : github.com/mailru/easyjson.Unmarshaler ExecuteSQLParams : encoding/json.Marshaler *ExecuteSQLParams : encoding/json.Unmarshaler func ExecuteSQL(databaseID ID, query string) *ExecuteSQLParams
ExecuteSQLReturns return values. ColumnNames []string SQLError *Error Values []easyjson.RawMessage MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface ExecuteSQLReturns : github.com/goccy/go-json.Marshaler *ExecuteSQLReturns : github.com/goccy/go-json.Unmarshaler ExecuteSQLReturns : github.com/mailru/easyjson.Marshaler *ExecuteSQLReturns : github.com/mailru/easyjson.MarshalerUnmarshaler *ExecuteSQLReturns : github.com/mailru/easyjson.Unmarshaler ExecuteSQLReturns : encoding/json.Marshaler *ExecuteSQLReturns : encoding/json.Unmarshaler
GetDatabaseTableNamesParams [no description]. DatabaseID ID Do executes Database.getDatabaseTableNames against the provided context. returns: tableNames MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface GetDatabaseTableNamesParams : github.com/goccy/go-json.Marshaler *GetDatabaseTableNamesParams : github.com/goccy/go-json.Unmarshaler GetDatabaseTableNamesParams : github.com/mailru/easyjson.Marshaler *GetDatabaseTableNamesParams : github.com/mailru/easyjson.MarshalerUnmarshaler *GetDatabaseTableNamesParams : github.com/mailru/easyjson.Unmarshaler GetDatabaseTableNamesParams : encoding/json.Marshaler *GetDatabaseTableNamesParams : encoding/json.Unmarshaler func GetDatabaseTableNames(databaseID ID) *GetDatabaseTableNamesParams
GetDatabaseTableNamesReturns return values. TableNames []string MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface GetDatabaseTableNamesReturns : github.com/goccy/go-json.Marshaler *GetDatabaseTableNamesReturns : github.com/goccy/go-json.Unmarshaler GetDatabaseTableNamesReturns : github.com/mailru/easyjson.Marshaler *GetDatabaseTableNamesReturns : github.com/mailru/easyjson.MarshalerUnmarshaler *GetDatabaseTableNamesReturns : github.com/mailru/easyjson.Unmarshaler GetDatabaseTableNamesReturns : encoding/json.Marshaler *GetDatabaseTableNamesReturns : encoding/json.Unmarshaler
ID unique identifier of Database object. See: https://chromedevtools.github.io/devtools-protocol/tot/Database#type-DatabaseId String returns the ID as string value. ID : expvar.Var ID : fmt.Stringer func ExecuteSQL(databaseID ID, query string) *ExecuteSQLParams func GetDatabaseTableNames(databaseID ID) *GetDatabaseTableNamesParams
Package-Level Functions (total 4)
Disable disables database tracking, prevents database events from being sent to the client. See: https://chromedevtools.github.io/devtools-protocol/tot/Database#method-disable
Enable enables database tracking, database events will now be delivered to the client. See: https://chromedevtools.github.io/devtools-protocol/tot/Database#method-enable
ExecuteSQL [no description]. See: https://chromedevtools.github.io/devtools-protocol/tot/Database#method-executeSQL parameters: databaseID query
Package-Level Constants (total 4)
Command names.
Command names.
Command names.
Command names.