Latest #ecto-query-where Threads 
Hi all,
Currently I need to create a function to get all the users with registration date between a given start_date to a given end_date...
New
Please see the below examples:
# Approach 1
Query
|> where([...], cond_a and cond_b)
|> or_where([...], cond_a and cond_c)
|> o...
New
I got a list of maps like this:
[%{"id" => 1}, %{"name" => "John"}]
I want to insert them in where query. These maps can be of a...
New
Hey there,
I have this code:
from(
ge in query,
join: e in assoc(ge, :event),
where: e.start_date <= ^date
)
...
New
For me current behaviour of or_where is quite misleading and problematic. To show what I mean:
from foo in "foos",
where: foo.a == "a"...
New
Hi, me again.
I got the following code:
updated_at = Map.get(params, "updated_since", "1970-01-01T12:00:00")
query =
from m in ChatMe...
New
This Week's Trending
This Month's Trending
This Year's Trending
Last Three Year's Trending
Trending Over Three Years
Hey there,
I have this code:
from(
ge in query,
join: e in assoc(ge, :event),
where: e.start_date <= ^date
)
...
New
I got a list of maps like this:
[%{"id" => 1}, %{"name" => "John"}]
I want to insert them in where query. These maps can be of a...
New
Please see the below examples:
# Approach 1
Query
|> where([...], cond_a and cond_b)
|> or_where([...], cond_a and cond_c)
|> o...
New
Hi all,
Currently I need to create a function to get all the users with registration date between a given start_date to a given end_date...
New
Hi, me again.
I got the following code:
updated_at = Map.get(params, "updated_since", "1970-01-01T12:00:00")
query =
from m in ChatMe...
New
For me current behaviour of or_where is quite misleading and problematic. To show what I mean:
from foo in "foos",
where: foo.a == "a"...
New
- Follow
- Join
- Shape
the conversation
Latest on Elixir Forum
Get money off!
The Pragmatic Bookshelf
35% off any eBook
Manning Publications
45% off any item
ElixirCasts
10% off for life
The Pragmatic Studio
20% off any course
AppSignal
10% off for 12 months
Honeybadger
10% off for 12 months
Simply use coupon code "devtalk.com" or "elixirforum" at checkout!
Filter by Type:
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #javascript
- #code-sync
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance








