README.md

# Dataloader

Dataloader provides an easy way efficiently load data in batches. It's inspired by https://github.com/facebook/dataloader, although it makes some small API changes to better suite Elixir use cases.

```
source =
```

Central to Dataloader is the idea of a source. A single Dataloader struct can have many different sources, which represent different ways to l

## Ecto Usage

Dataloader ships with an Ecto integration for cleanly working with the SQL databases that Ecto supports. Primary differences from the ordinary KV store is the support for Ecto associations.

## GraphQL Usage



## Phoenix Context Notes



## Installation

If [available in Hex](https://hex.pm/docs/publish), the package can be installed
by adding `dataloader` to your list of dependencies in `mix.exs`:

```elixir
def deps do
  [
    {:dataloader, "~> 0.1.0"}
  ]
end
```

Documentation can be generated with [ExDoc](https://github.com/elixir-lang/ex_doc)
and published on [HexDocs](https://hexdocs.pm). Once published, the docs can
be found at [https://hexdocs.pm/dataloader](https://hexdocs.pm/dataloader).