{name:str, attr:str, type:str}
A relation describing relvars in the current schema. Short for catalog.
Examples
Filter for a given relvar name
cat[name="$P"]
| name | attr | type |
|---|---|---|
| $P | CITY | str |
| $P | COLOR | str |
| $P | PNAME | str |
| $P | PNO | str |
| $P | WEIGHT | int |
Full example schema
cat
| name | attr | type |
|---|---|---|
| $P | CITY | str |
| $P | COLOR | str |
| $P | PNAME | str |
| $P | PNO | str |
| $P | WEIGHT | int |
| $S | CITY | str |
| $S | SNAME | str |
| $S | SNO | str |
| $S | STATUS | int |
| $SP | PNO | str |
| $SP | QTY | int |
| $SP | SNO | str |
| $constraint | name | str |
| $constraint | rule | str |
| error | message | str |
| error | name | str |