tablesAvailable

open override fun tablesAvailable(child: PsiElement): Collection<LazyQuery>

Returns a list of the selectable tables for the given child.

The available tables are contextual because of common table expressions:

WITH some_table AS (...) SELECT * FROM some_table