amnesia v0.2.2 Amnesia.Schema

Summary

Functions

Create the schema on the given nodes

Destroy the schema on the given nodes

Print the schema information

Print the schema of the given table

Functions

create(nodes \\ [node])

Specs

create([node]) :: :ok | {:error, any}

Create the schema on the given nodes.

destroy(nodes \\ [node])

Specs

destroy([node]) :: :ok | {:error, any}

Destroy the schema on the given nodes.

print()

Specs

print :: :ok

Print the schema information.

print(tab)

Specs

print(atom) :: :ok

Print the schema of the given table.