SQLiteView

class xbrl_filings_api.SQLiteView

Bases: object

Dataclass for storing SQLite view creation instructions.

Methods

__hash__()

Return hash(self).

__repr__()

Return repr(self).

__str__()

Return str(self).

Attributes

name

Name of the view in database.

required_tables

Table names required for this view.

sql

SQL SELECT statement for the view.

name: str

Name of the view in database.

If the view already exists, it will not be overwritten.

__hash__()

Return hash(self).

__repr__()

Return repr(self).

required_tables: Iterable[str]

Table names required for this view.

The table names are class names of APIResource objects other than Filing (as it will always be included).

sql: str

SQL SELECT statement for the view.