A key of several fields (or a single field carried as a mapping):
derive makes the primary key from the key fields' values, by
default the JSON array of their JSON encodings.
Attributes#
| Attribute | Type | Description |
|---|---|---|
fields | tuple[str, ...] | |
derive | Callable[[Row], str] | None = None |
Functions#
__init__#
__init__(fields, derive=None) -> None| Parameter | Type | Description |
|---|---|---|
fields | tuple[str, ...] | |
derive | Callable[[Row], str] | None = None |