sqlboiler
sqlboiler copied to clipboard
Generate a Go ORM tailored to your database schema.
When trying to update a column of array type (in our case a StringArray one), the Update fails if a nil is provided instead of an empty slice. This is...
Currently sqlboiler doesn't support DSN as an input parameter from command line or configuration, this is very useful as most of the libraries do support DSN and deployments can be...
Looking at the current decimal implementation it doesn't support NaN insertion: https://github.com/volatiletech/sqlboiler/blob/fad098aa2ba38220c0727620b7ea665983aec26e/types/decimal.go#L29 And trying to insert it anyway results in an error: `refusing to allow NaN into database` However postgres...
As the current hook signature is `func beforeHook(ctx context.Context, resource string, operationName string) error` (and after hook even slimmer), it is only possible to _read_ but not possible to write...
As the title says. In sql, the `WHERE ... IN` clause is equally valid for nullable and non-nullable types. The templates generate WhereIn helper methods for primitive types: https://github.com/volatiletech/sqlboiler/blob/fad098aa2ba38220c0727620b7ea665983aec26e/templates/00_struct.go.tpl#L56 but...
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.2.0 ### What is...
I went through a couple of tickets regarding this issue (at least touch the basis of it), like #407. But I couldn't figure out what is the current status of...
If using a primary key that includes a `timestamp` column in `mssql` the queries don't seem to be able to complete successfully because when we pass in a timestamp, `mssql`...
256 in a struct(not including embed struct) is bit small for us. We have 260 fields for now and may add more. Also max columns better to be documented(in readme?)....
This is a new feature not really an error but the CONTRIBUTING.md requires me to open a new PR ### What version of SQLBoiler are you using (`sqlboiler --version`)? SQLBoiler...