Aaron L
d7adb7006e
Rename IsNullable -> Nullable
...
- Skip insert test
- Fix whitespacing issue
2016-07-09 10:13:35 -07:00
Patrick O'brien
08d168605f
Added more insert test, added comments
...
* Added IsZeroValue helper
2016-07-08 01:59:07 +10:00
Patrick O'brien
0275677216
Merge branch 'master' of github.com:nullbio/sqlboiler
2016-07-06 16:04:54 +10:00
Patrick O'brien
7a0b84848f
Add more tests to insert template tests
...
* Add helpers to assist with template tests
* Change null []byte from string to []byte
2016-07-06 16:02:35 +10:00
Aaron L
0df0f964e7
Finish to_many for join tables.
2016-07-01 16:20:59 -07:00
Aaron L
c731661261
Use new templating features in all templates
...
- Add another check for join tables in the to_many relationships stuff.
- Fix a number of quoting bugs in the templates.
2016-06-26 23:59:27 -07:00
Aaron L
0d07bb4e67
First implementation of to_many relations.
2016-06-26 23:56:45 -07:00
Aaron L
c6740529df
Add more template functions.
...
- Fix some quoting nonsense in another template.
2016-06-26 23:56:45 -07:00
Aaron L
49d3260dcd
Fix where clause so it outputs quotes.
...
- Fix templates that this change broke
2016-06-26 23:56:45 -07:00
Aaron L
fee1231813
Push strmangle refactoring through everything.
2016-06-22 23:48:49 -07:00
Aaron L
84a160f3a4
Start of the to_many relationships.
2016-06-22 22:03:05 -07:00
Aaron L
4d0742b6f3
Fix up a number more template errors from refactor
...
- Add quoteWrap function to help where some of the old helpers were
covering.
2016-06-19 22:58:14 -07:00
Aaron L
119e683952
Use extensive piping throughout the templates
...
- Haskell ftw
2016-06-19 22:22:50 -07:00
Aaron L
82115b24e0
Rename templates to enforce sane ordering.
2016-06-19 16:29:59 -07:00
Aaron L
f46c2c5337
Add relationship "to_one" template.
...
- Temporarily add some new helper functions, going to clean these all
up in favor of pipes
- Annotate a couple of super weird methods
- Fix a printf verb for err
2016-06-19 16:01:22 -07:00
Patrick O'brien
1508d85cb6
Finish Bind test, renamed querymods package
...
* Rename querymods qs package to qm
* Refactor comparing values in template tests to remove redundancy
2016-06-15 00:01:28 +10:00
Aaron L
8757c8a184
Refactor entire project :D
...
- Move most files to root
- Remove cmds directory in favor of cmd directory with binary
- Remove all cobra from main
2016-06-11 18:25:00 -07:00
Patrick O'brien
b5409c7332
Fixed assign defaultRun bug, fixed "all" order
...
* Organized files better
* More comments
2016-02-29 19:39:49 +10:00
Patrick O'brien
20720b2cc0
Changed SQLBoiler init method
...
* Now uses maps to load commands
* Map for custom run handlers
* Map for template functions
* Streamlined cmd creation process
2016-02-29 15:49:26 +10:00
Patrick O'brien
25fa09cf93
Added initTemplates, moved tpls folder
...
* Moved all template functions to shared
2016-02-29 13:30:54 +10:00
Patrick O'brien
403951940f
Added comments to all tpl statements
...
* Added new statements
* Modified existing statements
* (TODO: FINISH STATEMENT IMPLEMENTATIONS)
2016-02-29 12:52:17 +10:00
Patrick O'brien
69adb1a552
Finished delete command
2016-02-23 22:51:49 +10:00
Patrick O'brien
5d679aa0bc
Finished select and insert commands
2016-02-23 22:38:24 +10:00
Patrick O'brien
b43f9c63d8
Struct generation complete, pipes to stdout
...
* Database driver config & flag complete
* Table flag complete, will use all tables if non specified
2016-02-23 18:27:32 +10:00