Latest #ecto-query-where Threads Top

marvinljw
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
Kurisu
Please see the below examples: # Approach 1 Query |> where([...], cond_a and cond_b) |> or_where([...], cond_a and cond_c) |> o...
New
script
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
benonymus
Hey there, I have this code: from( ge in query, join: e in assoc(ge, :event), where: e.start_date <= ^date ) ...
New
hauleth
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
Sardoan
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 Top

This Month's Trending Top

This Year's Trending Top

Last Three Year's Trending Top

Trending Over Three Years Top

benonymus
Hey there, I have this code: from( ge in query, join: e in assoc(ge, :event), where: e.start_date <= ^date ) ...
New
script
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
Kurisu
Please see the below examples: # Approach 1 Query |> where([...], cond_a and cond_b) |> or_where([...], cond_a and cond_c) |> o...
New
marvinljw
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
Sardoan
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
hauleth
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

Elixir Forum

Similar Portals

    None added yet

We're in Beta

About us Mission Statement