Ecto is the official Elixir library that serves as a database wrapper and integrated query system, enabling developers to define schemas, construct and execute type-safe queries, manage database migrations, and validate data via changesets; it is the foundational tool for working with relational databases in Elixir. Note that mix test does not run the tests in the integration_test folder. To run integration tests, you can clone ecto_sql in a sibling directory and then run its integration tests with the ECTO_PATH environment variable pointing to your Ecto checkout. Support for database migrations (version-controlled schema changes).
Features
- Repository abstraction to handle data access and persistence via adapters such as PostgreSQL, MySQL, SQLite
- Schema definitions mapping database tables to Elixir structs
- Composable, secure query DSL in native Elixir syntax
- Changeset support for data validation and transformation before persistence
- Support for database migrations (version-controlled schema changes)
- Explicit, type-safe data handling avoiding hidden state
Categories
DatabaseLicense
Apache License V2.0Follow Ecto
Other Useful Business Software
$300 Free Credits for Your Google Cloud Projects
Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Ecto!