sen
Elixir :map
Hi all, what should input to field(:test, :map)?
field(:test, {:array, :map}) => name: [%{“name1” => “test”, “name2” => “test”}]
field(:test, :map) => ???
Most Liked
NobbZ
So this question is related to ecto?
From its documentation it seems as if :map simply maps over to elixirs map type, eg: %{} or %{"foo" => 2}.
3
Popular in Chat/Questions
Anybody know of a Pragmatic Studio 40% off coupon code for video course like Phoenix?
New
Background
I have been reading quite a lot about design and architecture in Elixir and overall FP. My latest incursions took to me the On...
New
I’ve bought the following books:
Programming Elixir 1.6
Programming Phoenix 1.4
Programming Ecto
Functional Web Development with Elixir...
New
I’m not a hugely experienced programmer, just a few years. So I’m looking for resources to learn about a topic but I can’t seem to find m...
New
How to run the random query and get the result in JSON format and send it as a response. The query will be in the following form
DB Name...
New
Hello all,
I recently did my first app in Phoenix and Liveview, many thanks to all the users who assisted me. I found that the tutorial ...
New
I’d like to provide my review of the Elixir Course module from Groxio. I have some criticisms but I’d like to start with the positives.
...
New
I want to learn DSL. Don’t know how to write one. What;s the best introductory resource?
I see some macro being used here.
Is DSL only ...
New
Hello there,
i have a lot to read and to learn, but are there some books, that are focussing on how i “should” plan the architecture of ...
New
Hi all,
I am currently on this course
https://www.ludu.co/course/discover-elixir-phoenix
Half a way thru, and struggled a bit.. someti...
New
Other popular topics
We have an ECS cluster with 4 services, where each task joins a single cluster, via discovery ECS discovery service.
Currently when I de...
New
Surface is an experimental library built on top of Phoenix LiveView and its new LiveComponent API that aims to provide a more declarative...
New
Anybody knows a comprehensive comparison of Django and Phoenix, thanks for the help.
Where are they similar?
Where do they differ the m...
New
Erlang/OTP 25 [erts-13.2.2] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1]
15:22:35.803 [error] gen_event {lager_file_backend...
New
I am using the Starship cross-shell prompt – it seems pretty nice, but I get some errors:
[WARN] - (starship::utils): Executing command ...
New
Hey,
Just curious what are the main benefits of Elixir compared to Clojure?
When is Elixir more useful than Clojure and vice versa?
Th...
New
I tried installing
elixir 1.11.2
erlang 23.3.4
via asdf in my zsh shell. Enabled the versions locally and globally.
When I list them ...
New
There are pre-rolled solutions for other frameworks that do work. However, Phoenix does not seem to have these. Have people had good expe...
New
I wrote this comment on r/haskell, and it’s not popular there. :wink: But I think I’m on to something…
Haskell reminds me of Java, and e...
New
Lets say i have map like this fetching from my database
%{"_id" => #BSON.ObjectId<58eb1a7a9ad169198c3dXXXX>, "email" => "XXX...
New








