Giter VIP home page Giter VIP logo

go-sqlboiler-experiment's Introduction

go-sqlboiler-experiment

Personal opinion about sqlboiler

Pros

  • Everything is configurable, which allows for a lot of flexibility
  • Documentation for most common use-cases seems well written

Cons

  • Everything being configurable is a double-edged sword. Not all options are well documented and it can be difficult to figure out how to configure something
  • Only TOML is officially supported for configration, which I personally find quite confusing to use
  • Doesn't seem to support PostGIS well and/or is severely lacking documentation on how to use spatial types
  • Not a fan of generating the models based on the actual database (which can be dirty)
  • Overall seems too complex compared to other options out there

Generating models

# Boot up development environment
$ docker compose up

# Run tests so the database migrations have been applied
$ docker compose exec dev ./run-test.sh

# Generate new models based on the latest state of the database
$ docker compose exec bash -c 'go generate'

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.