View Source Snowpack.TypeCache (Snowpack v0.6.4)

Cache for fetching and storing the table column types.

Link to this section Summary

Link to this section Functions

Specs

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

fetch_column_types(pid, query_id, statement)

View Source

Specs

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

get_column_types(statement)

View Source

Specs

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

key_from_statement(statement)

View Source

Specs

key_from_statement(statement :: binary()) :: binary()

Specs

start_link(any()) :: Supervisor.on_start()