Ecto.Adapter.Structure.structure_dump
You're seeing just the callback
structure_dump
, go back to Ecto.Adapter.Structure module for more information.
Specs
structure_dump(default :: String.t(), config :: Keyword.t()) :: {:ok, String.t()} | {:error, term()}
Dumps the given structure.
The path will be looked in the config
under :dump_path or
default to the structure path inside default
.
Returns :ok
if it was dumped successfully, an error tuple otherwise.
Examples
structure_dump("priv/repo", username: "postgres",
database: "ecto_test",
hostname: "localhost")