Package sqlread reads what a SQL statement a script writes does to tables,
from its text alone: the tables it writes and by which verb, the tables it
reads, the schema a table name is in, and whether a name carries a part the
script computes ({its source}). The script flow graph and an application's
diagram read statements through it.
SchemaOf is the schema a table name written in SQL is in: its qualifier,
or public for an unqualified name, which is where an application
database's search path finds it. A three-part name's middle part is the
schema.
TablesIn lists the tables a rendered SQL statement reads. A computed part of
a name is kept as {its source}, so "warehouse.public.{t}" is reported as
that rather than dropped or guessed.
WritesOf is every table a statement writes, in the order it names them: the
target of a statement that starts with its verb, or, for one that starts with
WITH, each common table expression's target and the target of the statement
that follows them.