View Source Snowpack.TypeCache (Snowpack v0.7.0)

Cache for fetching and storing the table column types.

Link to this section Summary

Link to this section Functions

@spec child_spec(any()) :: Supervisor.child_spec()
Link to this function

fetch_column_types(pid, query_id, statement)

View Source
@spec fetch_column_types(pid :: pid(), query_id :: binary(), statement :: any()) ::
  {:ok, map()}
Link to this function

get_column_types(statement)

View Source
@spec get_column_types(statement :: binary()) :: {:ok, map()} | nil
Link to this function

key_from_statement(statement)

View Source
@spec key_from_statement(statement :: binary()) :: binary()
@spec start_link(any()) :: Supervisor.on_start()