Giter VIP home page Giter VIP logo

Comments (2)

Arpan-Kreeti avatar Arpan-Kreeti commented on July 25, 2024 1

Hi thanks, for the support. I had started working on Postgres support but faced some issues when handling different data types.
I haven't been able to work on this project lately, since I am busy with some other work. So I can't promise an ETA for now, but I will work on it whenever I have time.

The application has some issues when dealing with different data types like integer, date, etc for Postgres however it can handle strings. So, if for your use case your CSV only has strings it should work, I am attaching the binary script for that, however as I said it will only work for CSVs where the data will be treated as a string when trying to insert into the database.

So, for ids or date-time data, it will fail. Also, make sure the database is created before running it. I haven't tested it extensively so if you plan to use it, do it at your own risk.

You can run it by:
./csv2sql --source-csv-directory "/home/user/temp" --db-connection-string "postgres:username:password@localhost/db_name"

Lastly, if anyone has time and knowledge of elixir feel free to add Postgres support or additional features if you want, I will be happy to review and merge the PRs. 😊

csv2sql.zip

from csv2sql.

Arp-G avatar Arp-G commented on July 25, 2024

Hi, @bvilnis

I just added two new features to the application, which includes support for the PostgreSQL database and a web interface to use the application.

It would be very nice if you could have and look and provide some feedback.

Also, please feel free to report any bugs, suggestions, or advice.

Thanks again for giving this app a try. 😀

from csv2sql.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.