mongodb_ecto
mongodb_ecto copied to clipboard
MongoDB adapter for Ecto
The current challenge I am facing is that I want to write integration tests that add and remove data from the database and I miss the safety of the Ecto.SQL.Sandbox....
I wasn't able to get timestamps support in embedded_schema. In result timestamp fields are `nil` for all embedded documents but it works fine for regular documents. Do i miss something,...
When using multiple piped where's and if these don't contain any "and" in them, the final query ignores the "and's" that should be between the where's and therefore its parentheses,...
It looks like Ecto expects drivers to implement a function called `execute_ddl` that doesn't exist in mongodb_ecto. When running `mix ecto.migrate` that method it called in order to create the...
Using `embedded_schema` like in the example below always just ends up with a null `_id` in the database. I would expect it to populate the object id just like it...
Fixes #170
Hey! I have a weird bug in my production application which I was able to reproduce in the repo with the latest `master` in `test/mongo_ecto_test.exs`: ```elixir test "where in ids...
How would I run a query similar to: `sort({'embedded.field': -1})`? I have tried `order_by(desc: "embedded.field")` and `order_by(fragment("embedded.field"))` doesn't work.
Noticed that :decimal ecto native type is not supported but managed to get it working via a custom ecto type. Where is the best place to include this? README or...
ENV vars are not making a full connection through the Mongo.Ecto Adapter. Distillery build with ENV Vars: ``` REPLACE_OS_VARS, DB_NAME, DB_HOST, DB_PORT, HOST, PORT ``` Returning Empty results -- Acts...