Uni Ecto Plugin [2021] -
Uni Ecto Plugin is an Elixir library plugin that adds Uni (a hypothetical or project-specific) integration to Ecto, Elixir’s database wrapper and query generator. It provides adapter-like helpers, custom types, and query conveniences so Ecto schemas and queries work smoothly with Uni-specific data shapes, behaviors, or remote datastore features.
# lib/my_app/accounts/user.ex defmodule MyApp.Accounts.User do use Ecto.Schema import Ecto.Changeset uni ecto plugin
mix deps.get
defp deps do [ :ecto_sql, "~> 3.0", :uni_ecto_plugin, "~> 0.5.0", # Hypothetical version :postgrex, ">= 0.0.0" ] end Uni Ecto Plugin is an Elixir library plugin
@ApplicationScoped public class EctoProxyService # Hypothetical version :postgrex