BoundQuery

class photonforge.pda.BoundQuery(document, *, attachment=None, target=None)[source]

A saved pointer attached to a component, and what it points at.

Methods

get(k[,d])

items()

keys()

values()

Attributes

attachment

columns

Columns the pointer selects.

document

The raw pointer document.

filters

Columns a caller may narrow on.

relation

The table or view, schema-qualified when the pointer names a schema.

Parameters:
  • document (dict)

  • attachment (dict | None)

  • target (str | None)

property columns: list[str]

Columns the pointer selects. Empty means every column.

property document: dict

The raw pointer document.

property filters: list[str]

Columns a caller may narrow on. Anything else is refused.

property relation: str

The table or view, schema-qualified when the pointer names a schema.