get all references related to this column (where this col is col1 in)
(self)
| 66 | val.parent = self |
| 67 | |
| 68 | def get_refs(self) -> List['Reference']: |
| 69 | ''' |
| 70 | get all references related to this column (where this col is col1 in) |
| 71 | ''' |
| 72 | if not self.table: |
| 73 | raise TableNotFoundError('Table for the column is not set') |
| 74 | return [ref for ref in self.table.get_refs() if self in ref.col1] |
| 75 | |
| 76 | @property |
| 77 | def database(self): |