josemrb / ecto_ltree Goto Github PK
View Code? Open in Web Editor NEWEcto support for the PostgreSQL’s ltree data type
License: MIT License
Ecto support for the PostgreSQL’s ltree data type
License: MIT License
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
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.
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.
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?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.