sqlboiler
sqlboiler copied to clipboard
Generate a Go ORM tailored to your database schema.
If you're having a generation problem please answer these questions before submitting your issue. Thanks! ### What version of SQLBoiler are you using (`sqlboiler --version`)? v4.2.0 ### What is your...
### What version of SQLBoiler are you using (`sqlboiler --version`)? SQLBoiler v2.5.1 Hi Is it possible to generate select query with `LOCK IN SHARE MODE` using Query Mods?
If you're having a generation problem please answer these questions before submitting your issue. Thanks! ### What version of SQLBoiler are you using (`sqlboiler --version`)? v4.5.0 ### What is your...
### What version of SQLBoiler are you using (`sqlboiler --version`)? After #702 : 3.7.0 ### What is your database and version (eg. Postgresql 10) MySQL 8.0.19 ### If this happened...
This PR implements the following: - Added `queries.BuildSubquery()` which does the same thing as `BuildQuery()` except doesn't append a semicolon so query builder results can be embedded in other queries...
If you're having a generation problem please answer these questions before submitting your issue. Thanks! ### What version of SQLBoiler are you using (`sqlboiler --version`)? SQLBoiler v4.5.0 ### What is...
### What version of SQLBoiler are you using (`sqlboiler --version`)? v4 (4.2.0) ### What is your database and version (eg. Postgresql 10) MySQL - 8.0.19 ### If this happened at...
The following code fails with SIGSEGV ```go user := models.User{} user.Insert(ctx, db, boil.Infer()) ``` ``` $ DATABASE_URL=postgres://postgres:password@postgres/postgres?sslmode=disable go run utils/foo.go panic: runtime error: invalid memory address or nil pointer dereference...
This may be a duplicate of #546, happy to add these comments there if so. `OrderBy(columnName)` fails to escape the column name properly in a PostgreSQL database. Table of sports...
I was looking for a way to negate a whole groupe of `QueryMod` while building a request but I couldn't find any call equivalent to `qm.Or2` which would apply a...