graveyard v0.1.0 Graveyard.Record View Source

This the basic entity of graveyard.

Link to this section Summary

Functions

Find a record by id. Returns the record if existent, nil otherwise

Stores a map into ElasticsSearch. Returns {:ok, record} if success, {:error, error} otherwise

Link to this section Functions

Find a record by id. Returns the record if existent, nil otherwise

Link to this function insert(raw, opts \\ %{}) View Source

Stores a map into ElasticsSearch. Returns {:ok, record} if success, {:error, error} otherwise