Giter Site home page Giter Site logo

ecto_model's Introduction

EctoModel

EctoModel is a library that aims to overhaul your Ecto.Schemas with additional functionality such as easy, fluent querying of data as well as easy soft deletes!

Installation

This package can be installed by adding ecto_model to your list of dependencies in mix.exs:

def deps do
  [
    {:ecto_model, "~> 0.0.1"}
  ]
end

Features

Currently, EctoModel provides the following features:

  • Easy and fluent API for querying your data with EctoModel.Queryable
  • Easy and compile-time validated soft delete functionality with EctoModel.SoftDelete

All of the provided functionality is provided in an opt-in basis, so you can mix and match the functionality you need as needed.

Please see the documentation for each feature for more information.

License

EctoModel is released under the MIT License.

Links

EctoModel is built on top of the following libraries, and as such, you may care about their documentation as well:

Contributing

We don't currently have any contributing guidelines, but if you'd like to contribute, please feel free to open an issue or a pull request.

Please note that we do enforce 100% test coverage, so any changes will need to be accompanied by tests.

Additionally, we withhold the right to refuse any changes that we feel do not align with the goals of the project.

ecto_model's People

Contributors

vereis avatar

Stargazers

Rafael avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.