GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — python-chrome-devtools-protocol/docs/api/database.rst at master · pyNpy/python-chrome-devtools-protocol

Expand file tree

/

database.rst

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
65 lines (48 loc) · 1.46 KB
/

database.rst

Copy path

File metadata and controls

65 lines (48 loc) · 1.46 KB
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

Database

This CDP domain is experimental.

.. module:: cdp.database

  • Types
  • Commands
  • Events

Types

Generally, you do not need to instantiate CDP types yourself. Instead, the API creates objects for you as return values from commands, and then you can use those objects as arguments to other commands.

.. autoclass:: DatabaseId
      :members:
      :undoc-members:
      :exclude-members: from_json, to_json

.. autoclass:: Database
      :members:
      :undoc-members:
      :exclude-members: from_json, to_json

.. autoclass:: Error
      :members:
      :undoc-members:
      :exclude-members: from_json, to_json

Commands

Each command is a generator function. The return type Generator[x, y, z] indicates that the generator yields arguments of type x, it must be resumed with an argument of type y, and it returns type z. In this library, types x and y are the same for all commands, and z is the return type you should pay attention to. For more information, see :ref:`Getting Started: Commands <getting-started-commands>`.

.. autofunction:: disable

.. autofunction:: enable

.. autofunction:: execute_sql

.. autofunction:: get_database_table_names

Events

Generally, you do not need to instantiate CDP events yourself. Instead, the API creates events for you and then you use the event's attributes.

.. autoclass:: AddDatabase
      :members:
      :undoc-members:
      :exclude-members: from_json, to_json
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.