visibleToChildren property

bool visibleToChildren

Whether this referencable is still visible in child scopes. This doesn't apply to many things, basically only to tables.

For instance: "SELECT *, 1 AS d, (SELECT id FROM demo WHERE id = out.id) FROM demo AS out;" is a valid sql query when the demo table has an id column. However, "SELECT *, 1 AS d, (SELECT id FROM demo WHERE id = d) FROM demo AS out;" is not, the "d" referencable is not visible for the child select statement.

Implementation

bool get visibleToChildren => false;