This Week's Trending
This Month's Trending
This Year's Trending
Last Three Year's Trending
Trending Over Three Years
How do I use the PostgreSQL JSON ? operator in Ecto? Assume that I have a table users that has a JSONB field data, and I want to test (in...
New
I’m trying to pass jsonb data into postgres via ecto. I’d like to be able to take a valid JSON string, add it as a graphql argument, and ...
New
I am facing an issues creating a query to exclude results if a jsonb array field contains specified value.
This works in plain sql and I...
New
This is an example from one of the very useful “FullstackPhoenix” tutorials, namely:
# lib/tutorial/shop/data.ex
defmodule Tutorial.Sho...
New
The problem
I have a :map field that I am able to update on create. On update, the changeset returns a successful update;however, the dat...
New
I want to store jsonb both array and map. structure is very dynamic and its coming from Government sites and if we update front-end its a...
New
I am having an issue with a JSONB query.
This works:
Repo.all from r in Review,
where: fragment(~s(review @> '{"product": {"category...
New
Hello :waving_hand:,
I’m trying to define a one-to-many association where the child’s foreign key is contained inside a jsonb field.
I ...
New
Everywhere I’ve seen a blog post, etc. about making a column in postgres for an embeds_many, I see the same advice: use add :column, {:ar...
New
In “the other language” for an already long time one can rely on the order of key-value pairs in the Map equivalent so getting keys retur...
New
Hello, I am having some trouble with nested embeds, I have a jsonb column metadata which looks like this:
field(:collected_from, :stri...
New
Hello!
For example i have an schema Photo.
{
"filename": "photo123.jpg",
"content_type": "image/jpeg",
"versions": {
"origin...
New
Hi all,
I was trying to use dynamic queries and fragment but I’m struggling with this query:
select json_data.key , Sum(json_data.value...
New
I have a schema:
schema "assets" do
field :title, :string
field :description, :string
field :files, :map
end
I don’t want to use ...
New
Hello! I am trying to create a few different embedded schemas for storing JSON in a jsonb column in postgres using ecto. The problem is t...
New
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:
Sub Categories:
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
- #podcasts
- #code-sync
- #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








