I'm trying to query jsonb field via Postgrex adapter, however I receive errors I cannot understand. Notification schema def all_for(user_id, externa ...
I'm trying to query jsonb field via Postgrex adapter, however I receive errors I cannot understand. Notification schema def all_for(user_id, externa ...
I'm trying to set up Postgis with Ecto, i've been following the documentation of https://github.com/bryanjos/geo_postgis closely. But when trying to r ...
I have a few thousand databases. I want to connect to each of them in series one by one and issue a query. I do this by starting a Postgrex process li ...
We're building an elixir application, and using ecto to connect to our database. One of the roles of the application is to create reports based on our ...
I'm running a query and loading the results into a Stream using Postgrex, like so: But I get the following error: Since I want to do cumbersome ...
I am wondering why I can't dump a DateTime with a precision less than 6? Why can't we just fill up with zeros? Example Expected Actual ...
I have a chunk of code that looks something like this: In my test suite, I continually run into the error: I'm wondering if I'm doing something ...
I had to brew reinstall some things that my existing project uses. Now I'm getting this error when I'm running a SELECT statement: It is complaini ...
I'd like to write tests to validate that the SQL queries in my application return data adhering to certain constraints: namely, that return values are ...
I am exploring using Elixir for fast Postgres data imports of mixed types (CSV, JSON). Being new to Elixir, I am following the the example given in th ...
Working on an Elixir app. There's a Scraper function that copies data from a Google Spreadsheet into a postgres database via the Postgrex driver. The ...
Error Here's the error that I encountered when I'm testing my Account changeset. It seems like it would only be caused by the Ecto migration with wro ...
I'm just trying to use Postgrex without any kind of ecto setup, so just the example from the documentation readme. Here is what my module looks like: ...
I'm having trouble with a custom Ecto type that I'm writing. It is be backed by %Postgrex.Range{} type. The code is The migration is The user sc ...
I am trying to create a migration. this is the output however until now it has been working in dev mode. I did try ALTER USER user WITH SUPERUSE ...
I started getting the following error when trying to insert a new room Shouldn't the primary key auto-increment? What would make this error occur s ...
I have a Phoenix repository that other engineers clone when creating a new app. I have the following in the prod.exs The engineer normally deploy ...
I'm trying to figure out how to connect to a postgres database, run a query, and then disconnect. Looking at Postgrex, I establish a connection usin ...
I'm following this tutorial which adds a postgrex extension into the config.exs with the extensions field. However that is now a deprecated way to add ...
I want to have a route that gets all entries from a database table and returns them. in router.ex: in repo.ex: Api.Category.ex I'm getting ...