Popularity
5.4
Stable
Activity
0.0
Stable
39
4
18
Monthly Downloads: 14
Programming language: Elixir
License: Apache License 2.0
Tags:
ORM And Datamapping
Latest version: v0.2.0
ecto_ordered alternatives and similar packages
Based on the "ORM and Datamapping" category.
Alternatively, view ecto_ordered alternatives based on common mentions on social networks and blogs.
-
memento
Simple + Powerful interface to the Mnesia Distributed Database 💾 -
paper_trail
Track and record all the changes in your database with Ecto. Revert back to anytime in history. -
ExAudit
Ecto auditing library that transparently tracks changes and can revert them. -
xandra
Fast, simple, and robust Cassandra/ScyllaDB driver for Elixir. -
ecto_psql_extras
Ecto PostgreSQL database performance insights. Locks, index usage, buffer cache hit ratios, vacuum stats and more. -
arbor
Ecto elixir adjacency list and tree traversal. Supports Ecto versions 2 and 3. -
sqlitex
An Elixir wrapper around esqlite. Allows access to sqlite3 databases. -
boltun
Transforms notifications from the Postgres LISTEN/NOTIFY mechanism into callback execution -
sql_dust
Easy. Simple. Powerful. Generate (complex) SQL queries using magical Elixir SQL dust. -
walex
Listen to Postgres change events and do stuff with the data directly in Elixir
Updating dependencies is time-consuming.
Solutions like Dependabot or Renovate update but don't merge dependencies. You need to do it manually while it could be fully automated! Add a Merge Queue to your workflow and stop caring about PR management & merging. Try Mergify for free.
Promo
blog.mergify.com
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of ecto_ordered or a related project?
README
EctoOrdered
Ecto extension to support ordered list items. Similar to acts_as_list, but for Ecto
Examples
# Global positioning
defmodule MyModel do
use Ecto.Schema
import EctoOrdered
schema "models" do
field :position, :integer, virtual: true
field, :rank, :integer
end
def changeset(model, params) do
model
|> cast(params, [], [:position])
|> set_order(:position)
end
end
# Scoped positioning
defmodule MyModel do
use Ecto.Model
use EctoOrdered, scope: :reference_id
schema "models" do
field :reference_id, :integer
field :position, :integer, virtual: true
end
def changeset(model, params) do
model
|> cast(params, [], [:position, :reference_id])
|> set_order(:position, :reference_id)
end
end