In your mix.exs :
| Ecto Feature | UNI Plugin Support | |--------------|--------------------| | Changeset validation | Custom validate_uni/3 to check resolvability or format | | Preloading | Works with belongs_to_uni like normal associations | | Streams | UNI fields are streamed as structs, no extra overhead | | Multi-tenancy | UNI origin can act as tenant ID; plugin can scope queries automatically | | Migrations | add :customer_uni, :string + optional generated columns via uni_add_components/2 |
Whether you are designing spooky title sequences, crafting otherworldly sci-fi energy fields, or adding a glowing, ethereal aura to your visual effects, mastering your toolset is essential. In the motion graphics and post-production world, the (often referred to as Uni Ecto)—developed by Maxon as part of their Red Giant Universe collection—is one of the most powerful and creative assets available.
The plugin requires you to use its TenantRepo behaviour. Modify your lib/my_app/repo.ex : uni ecto plugin
lib/uni_ecto_plugin/soft_delete/query.ex
: Advanced users utilize Ecto in software like Sony Vegas or After Effects to create 2D portal effects or mystical energy fields. Usage and Presets
If you're exploring the ecosystem, you might also come across packages like ecto_enum (for enums) or ecto_morph (for complex query generation). While not directly related to "uni," they represent the kind of powerful, focused tooling the Elixir community creates. For any database-related need, always check the official Ecto documentation and Hex.pm first, as the Ecto core team frequently adds new features directly into the main library. In your mix
is a visual effects plugin part of the Red Giant Universe library by
A robust Ecto plugin needs to be easy to integrate. Ideally, a developer should only need to add a single line of code to their Schema or Repo module to unlock its features. 1. The Schema Extension Boilerplate
Would you like a concrete implementation of this plugin as a Hex package, or a walkthrough of how to adapt it to a specific UNI protocol (e.g., Uniswap’s token standard, W3C DID, or a proprietary system)? Modify your lib/my_app/repo
def transfer_funds(from_id, to_id, amount) do Uni.new() |> Ecto.transaction(fn -> Uni.new() |> add_step(:decrement, Debit.run(from_id, amount)) |> add_step(:increment, Credit.run(to_id, amount)) |> Uni.execute() end) |> Uni.execute() end
Unlike basic foreign key scoping ( WHERE tenant_id = ? ), the uni_ecto_plugin often supports (separate schemas or separate databases). It seamlessly switches between tenants at the connection level.
Ecto emits highly detailed Telemetry events for every database event ( [:ecto, :repo, :init] , [:ecto, :repo, :query] ). For plugins that only handle logging , auditing , or metrics , hook into Telemetry instead of overriding repository functions. It is safer and more performant.