Packages

Endo is a library containing database schema reflection APIs for your applications, as well as implementations of queryable schemas to facilitate custom database reflection via Ecto.

Current section

Files

Jump to
endo lib endo table.ex
Raw

lib/endo/table.ex

defmodule Endo.Table do
@moduledoc "Table metadata returned by Endo."
@type t :: %__MODULE__{}
defstruct [
:adapter,
:name,
columns: [],
associations: [],
indexes: [],
schemas: %Endo.Schema.NotLoaded{},
metadata: %Endo.Metadata.NotLoaded{}
]
end