Giter Site home page Giter Site logo

Comments (7)

nullbio avatar nullbio commented on April 28, 2024

I'm sure we can add support for both of these. A custom hstore type that implements Scan and Value probably won't be too difficult, and it seems the pq driver already has types for all of the array types with a GenericArray type as a fallback: https://godoc.org/github.com/lib/pq#GenericArray

from sqlboiler.

ashb avatar ashb commented on April 28, 2024

Cool. When I'm back from holiday I might see if I have time to try a PR. (No promises though. Life and all that)

Will there be any confusion/complexity from the To Many relationship?

from sqlboiler.

nullbio avatar nullbio commented on April 28, 2024

It's okay, I've already got it covered :) It's in the dev branch if you want to take a look. We're just making making the final changes for the MySQL driver then we can release it all together.

from sqlboiler.

ashb avatar ashb commented on April 28, 2024

Ah nice!

from sqlboiler.

nullbio avatar nullbio commented on April 28, 2024

Hi @ashb -- we've released V2 which includes the hstore and arrays mentioned above. See here for release notes: https://github.com/vattle/sqlboiler/releases/tag/v2.0.0

Thanks.

from sqlboiler.

ashb avatar ashb commented on April 28, 2024

<3 Awesome, I'll try it out.

And 👍 for tagging releases too!

from sqlboiler.

nullbio avatar nullbio commented on April 28, 2024

Sounds good, let me know if you run into any problems :)

from sqlboiler.

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.