GithubHelp home page GithubHelp logo

Comments (2)

mijia avatar mijia commented on September 28, 2024

@chmac Thank you very much for your interest. I did stumble upon the article you mentioned during the implementation, but I was actually inspired by Slick (https://github.com/slick/) since we are using it in web dev for our company.

I am now pretty occupied by the company dev stuff so very little time will spend on this project so far. I am quite interested in supporting different drivers for ModelQ, but now in the code, the sql statement part is very tightly coupled with the query part. So maybe costs some efforts to loose that couple with an extra driver layer for this. Maybe it will be easy to do, but I have no idea for now, :) I will definitely think about this.

Any fork or pull request would be appreciated, :)

from modelq.

mijia avatar mijia commented on September 28, 2024

@chmac Hi, I have implemented the PostgresQL into ModelQ, please help to check it out if you got some time, :)
So far, I have 2 problems since I am not quite familiar with PostgresQL

  1. lib/pq doesn't support GetLastInsertID, so I am still struggling with the interface design for the "INSERT .... RETURNING ...." structure, any suggestions?
  2. I found it seems lib/pq has some problems supporting time.Time scan so it will fail if there is a column has the type timestamp, I think I might be using the api incorrectly.

Any feedbacks would be appreciated.
Thank you very much

from modelq.

Related Issues (19)

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.