sqlboiler
sqlboiler copied to clipboard
Generate a Go ORM tailored to your database schema.
The absence of the schema name prefix can lead to ambiguity and unexpected results if relying on default schema or search path behaviour of the target db.
Attempt at https://github.com/volatiletech/sqlboiler/issues/499 It works well with non `Null` types but unfortunately `Null` types will always output their `valid` values like so: ``` "INSERT INTO \"rockets\" (\"id\",\"name\",\"model\",\"launched\",\"launch_date\",\"data\") VALUES ('1c309a44-c3b6-4924-b5b4-57532cff1c1f',{bunpollo 13...
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`)? 4.10.2 ### What is your...
### What version of SQLBoiler are you using (`sqlboiler --version`)? v4.14.0 ### What is your database and version (eg. Postgresql 10) PG 15 Passing a greylist to the update columns...
When using `qm.OrIn` and passing in an empty array custom closing parentheses are being removed. See this example code: ```golang inIds1 := []interface{}{1, 2} inIds2 := []interface{}{} dao.Users( qm.WhereIn("(id IN...
Hey, I've noticed that the model generator added unused "database/sql" import for SQL VIEW models. ![image](https://github.com/volatiletech/sqlboiler/assets/115064733/8ee98045-a319-4b4a-a133-be461a6c23a8) version of SQLBoiler: 4.14.2 database version: Postgresql 10
I have a runtime error with an Update call, there are extra empty column names in the query which leads to a PG error: ``` models: unable to update station...
### What version of SQLBoiler are you using (`sqlboiler --version`)? SQLBoiler v4.14.1 ### What is your database and version (eg. Postgresql 10) PostgreSQL 13.6 ### If this happened at generation...
### What version of SQLBoiler are you using (`sqlboiler --version`)? SQLBoiler v4.14.1 ### What is your database and version (eg. Postgresql 10) SQLBoiler `v4.14.1` ### If this happened at generation...
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.14.1 ### What is your...