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 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
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 :wave:,
I’m trying to define a one-to-many association where the child’s foreign key is contained inside a jsonb field.
I have a ...
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
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
Hi everyone,
I have an embedded_schema, which again uses embed_one. I don't want to save the child, when a certain key name isn't set. ...
New
I'm trying to figure out the best way to structure the settings for various features in an app. Right now for each feature I have a separ...
New
Hi everyone, I have a database design where I have to store some keys and then that key will have some sub keys.I am planning to do it wi...
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
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #ash-questions
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #exunit
- #discussion
- #javascript
- #elixirconf
- #library
- #oban-questions
- #dialyzer
- #docker
- #onsite
- #authentication
- #podcasts
- #full-time-contract
- #umbrella
- #code-sync
- #ecto-query
- #phoenix_html
- #iex
- #graphql
- #genstage
- #elixir-ls
- #nerves-questions
- #podcasts-by-brainlid
- #supervisor
- #websockets
- #distillery
- #advent-of-code
- #blog-post
- #livebook-questions
- #processes
- #forms
- #api
- #metaprogramming







