sqlboiler
sqlboiler copied to clipboard
Generate a Go ORM tailored to your database schema.
https://google.github.io/sqlcommenter/ makes it possible to add tracing comments that can be interpreted by e.g. GCPs query analyser. https://github.com/volatiletech/sqlboiler/pull/872 added support for comments but they are prepended on a separate line...
Could we add a new finisher method that wraps `*sql.Rows`, so that we could iterate over rows without loading all of them at once? I found that `Query` finisher returns...
So... this might be a fairly easy question to answer, but I couldn't find a way of making it work. I'm trying to do a simple query that needs a...
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 v3.1.0 ### If this...
Allow upserting using partial indexes. Right now, one must supply column names for upserts. If an application has a partial index (ie. in the case of null values), upserts fail....
This is related to the feature added in #716 ### What version of SQLBoiler are you using (`sqlboiler --version`)? v4.2.0 ### What is your database and version (eg. Postgresql 10)...
### What version of SQLBoiler are you using (`sqlboiler --version`)? SQLBoiler v3.6.1 ### What is your database and version (eg. Postgresql 10) 12.1 ### If this happened at runtime what...
Here is the current implementation for `CanLastInsertID`: https://github.com/volatiletech/sqlboiler/blob/d551047361e2a3580169ce51d6445db17ae0d073/drivers/table.go#L44-L48 However, according to the [MySQL doc](https://dev.mysql.com/doc/refman/8.0/en/information-functions.html#function_last-insert-id), it's possible to retrieve the last insert ID as long as there is an `AUTO_INCREMENT` column....
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`)? v 3.7.1 ### What is...
I'm using SqlBoiler in my project and it's been going well - so thanks for making it 👍 I'm wonder if SqlBoiler supports updating a single table model object with...