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`)? SQLBoiler v3.2.0 (but with my...
My test MySQL schema is simplified like ```sql CREATE TABLE `demo` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `date` date NOT NULL DEFAULT '0000-00-00', `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',...
### What version of SQLBoiler are you using? `SQLBoiler v3.0.1` ### SQLBoiler command you used to generate your models? ```sh $ sqlboiler --wipe --no-tests --no-context --add-global-variants psql Error: unable to...
As described here : [Spatial Extension](https://dev.mysql.com/doc/refman/5.6/en/spatial-extensions.html ) From Mysql 5.6 , already support geo spatial data types Any plan for including this feature ?
In function setIsJoinTable ``` if t.PKey == nil || len(t.PKey.Columns) != 2 || len(t.FKeys) < 2 || len(t.Columns) > 2 { return } ``` Is the `len(t.Columns) > 2` nessary?...
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.13.0 ### What is...
I have a database which I cannot change and all the fields are in `SCREAMING_SNAKE_CASE`. When I generate my models, `USER_ID` becomes `USER_ID` in my Go structs, which is not...
My attempt to resolve #445 Added into the templates for relationships as I did not see any other place that made sense for how the hooks otherwise behaved. Happy to...
This is a question about the docs, so I skip the "issue question", as they are not relevant for my issue. I am still trying to figure out how to...
MySQL has support for [Optimizer Hints](https://dev.mysql.com/doc/refman/5.7/en/optimizer-hints.html), which implemented with comments that appear between `SELECT` and the column list. For example: ```sql SELECT /*+ MAX_EXECUTION_TIME(1000) */ * FROM users; ``` I...