RSSAmplifier

Peter Ullrich Blog · Jul 10, 2022

Import a CSV into Postgres using Elixir

0
Sign in to vote or save

This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.

Analyzing large amounts of data has become an everyday problem. Oftentimes, the datasets are only available as CSV file, which creates the the question of how you can import them into your Postgres database? The short answer: By using the Postgres' COPY -function. Here's the long answer: Let's imagine you have an Ecto.Schema called Location with the following definition: schema "locations" do…

Read on peterullrich.com

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.