Giter Site home page Giter Site logo

ecto_ltree's People

Contributors

bismark avatar josemrb avatar warmwaffles avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

ecto_ltree's Issues

Need documentation

Hello,

I didn't find a way to query ltree with the library, so for now I use fragments:

from u in "users",
          where: fragment(" path ~ ?", ^value)

do you provide any function to do that ?

Best regards

Evaluating this library

Hello,
I'm evaluating using this library instead of rolling my own.

Is there a reason why this is on version 0.20.1? Is appears development has stopped, and I'm just wondering what You think is missing to get this to version 1.0.0.

update ecto dep

Hi there,

when I try to install the lib I get the following error:

Dependencies have diverged:
* ecto (Hex package)
  the dependency ecto 3.4.2

  > In deps/ecto_ltree/mix.exs:
    {:ecto, "~> 3.0", [env: :prod, hex: "ecto", repo: "hexpm", optional: false]}

  does not match the requirement specified

  > In deps/ecto_sql/mix.exs:
    {:ecto, "~> 3.4.3", [env: :prod, hex: "ecto", repo: "hexpm", optional: false]}

  Ensure they match or specify one of the above in your deps and set "override: true"
** (Mix) Can't continue due to errors on dependencies

adding override: true fixes the issue. maybe it should be added to the description.

Array support

I've appreciated this library a ton.

Seems however that it's missing or now needs to implement array support for lquery and possibly ltree in order to support operations that take arrays as arguments: elixir-ecto/postgrex#528.

I'd be willlilng to help, but I'm totally unfamiliar with how Postgres communicates with Ecto. Is there a model for encoding/decoding arrays of this type I could use to create a PR, if one would be welcome?

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.