DataMapper

TODO: Add description

Installation

If available in Hex, the package can be installed by adding data_mapper to your list of dependencies in mix.exs:

def deps do
  [
    {:data_mapper, "~> 0.1.0"}
  ]
end

Find


EntityManager.find("bz_administrators", %{
  username: "alexbilbie",
  profile: "Developer",
  twoFactorEnabled: true,
  name: "Alex Bilbie"
})

Find one


EntityManager.find_one("bz_administrators", %{
  username: "alexbilbie",
  profile: "Developer",
  twoFactorEnabled: true,
  name: "Alex Bilbie"
})

count


EntityManager.count("bz_administrators", %{
  username: "alexbilbie",
  profile: "Developer",
  twoFactorEnabled: true,
  name: "Alex Bilbie"
})

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/data_mapper.