database_url alternatives and similar packages
Based on the "ORM and Datamapping" category.
Alternatively, view database_url 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. -
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.
Elixir and Phoenix Application Security Platform
* 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 database_url or a related project?
README
DatabaseUrl
Parse database URL and renturn keyword list for use with Ecto.
Installation
defp deps do
[ {:database_url, "~> 0.1"}, ]
end
Usage
API
iex> url = "postgres://localhost/database?size=30&ssl=true&encoding=utf-8"
iex> options = DatabaseUrl.parse(url)
[host: "localhost", database: "database", adapter: Ecto.Adapters.Postgres,
size: 30, ssl: true, encoding: "utf-8"]
Use with Phoenix + Ecto
Use in project config and assume DATABASE_URL
environment variable is set.
Code.require_file("../deps/database_url/lib/database_url.ex", __DIR__)
# Configure your database
config :myapp, MyApp.Repo, DatabaseUrl.parse(System.get_env("DATABASE_URL"))
On first line in config.exs
must be added Code.require_file("../deps/database_url/lib/database_url.ex", __DIR__)
,
otherwise isn't module loaded.