sqlboiler
sqlboiler copied to clipboard
Generate a Go ORM tailored to your database schema.
- Tests are updated to reflect the latest PostgreSQL (15) default value. - Migrate `lib/pq` to `pgx/v5`'s compatibility layer (to prevent rewriting too many things) - Update Go lockfiles to...
### What version of SQLBoiler are you using (`sqlboiler --version`)? SQLBoiler v4.16.2 ### What is your database and version (eg. Postgresql 10) Microsoft SQL Server 16.0.1000 ### If this happened...
Example table ```sql CREATE TABLE IF NOT EXISTS `Slash/Test` ( id INT UNSIGNED NOT NULL AUTO_INCREMENT, `my_en/um` ENUM('test/1', '/test2', 'test3'), PRIMARY KEY (id) ); ``` Sqlboiler attempts to create a...
This PR enables using statement `SELECT COUNT(*) FROM (SELECT ...);` if there's HAVING or GROUP BY in the query.
Hi team I have a trouble with query. Looks like boiler doesn't increment counter for parameters placeholders for postgresql. The schema is as follow: ``` CREATE TABLE IF NOT EXISTS...
I am trying to build models using `sqlboiler psql` command. But the below error is occurring. ``` unable to load tables: unable to fetch table column info(user_info) : unable to...
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.16.2 ### What is...
This adds the `--no-schema` option, which allows for overriding the default option in the driver. This flag only allows forcefully ignoring the schema, setting `--no-schema=false` does not force usage of...
Using v4.18.0 (previously tested on 4.16 too) Using the postgres driver (but not sure it's postgres specific) given the schema generated by ```sql CREATE TABLE A ( id serial PRIMARY...
On version v4.13.0, we noticed that when dealing with context timeouts, we'd sometimes get an unexpected `sql.ErrNoRows` rather than the expected context error which broke some of our error handling...