Patrick O'Brien
5fb5ebef7d
Update README.md
2016-07-11 15:41:04 +10:00
Aaron L
2e3830053d
Make to_one relationships use the X paradigm.
2016-07-09 10:14:07 -07:00
Aaron L
d7adb7006e
Rename IsNullable -> Nullable
...
- Skip insert test
- Fix whitespacing issue
2016-07-09 10:13:35 -07:00
Aaron L
104d0e57cd
Add nullability to foreign keys.
...
- Remove some debug output.
- Add some parallel
2016-07-09 09:59:37 -07:00
Aaron L
7863284e61
Rename Creator interface.
2016-07-09 09:31:50 -07:00
Aaron L
0cea9b1edc
Fix bug in insert output.
2016-07-09 09:31:09 -07:00
Patrick O'brien
013b3ae0f8
Added more reflect helpers
2016-07-09 02:39:36 +10: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
ce30724f98
Add identifier function for use in templates.
2016-07-01 15:58:51 -07:00
Aaron L
9a80de4103
Fix a foreign key lookup bug.
2016-07-01 15:52:19 -07:00
Aaron L
59c7496521
Expose more information about join tables
2016-07-01 10:34:40 -07:00
Patrick O'brien
d154617e95
Remove broken fmt dependency
2016-06-27 18:36:14 +10:00
Patrick O'brien
fc1eff4d83
Merge branch 'master' of github.com:nullbio/sqlboiler
2016-06-27 18:34:55 +10:00
Patrick O'brien
b0e0369b26
Removed unecessary print
2016-06-27 18:34:03 +10:00
Aaron L
85ff9a797a
Merge conflict resolution (late)
2016-06-27 00:02:10 -07:00
Aaron L
41ce2b511b
Remove debug output
2016-06-27 00:00:19 -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
6dac631a93
Add new functions to support more templating
...
- Add joinSlices
- Add ways to pull apart a slice of SQLColumnDef
- Try to stop generating join tables (but it still gens for some reason)
2016-06-26 23:59:27 -07:00
Aaron L
f7a4d3d34b
Remove system tables from postgres driver lookups
2016-06-26 23:59:27 -07:00
Aaron L
0e7c2561db
Correct test running.
2016-06-26 23:59:27 -07:00
Aaron L
0fb4739b00
Add JoinTable information to relationships.
2016-06-26 23:56:45 -07:00
Aaron L
0d07bb4e67
First implementation of to_many relations.
2016-06-26 23:56:45 -07:00
Aaron L
fb9653e0a1
Remove debug output
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
642069645b
Formatting errors are no longer completely useless
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
c7eafa4e08
Make relationships output the column name
2016-06-26 23:56:45 -07:00
Patrick O'brien
4412026e63
Change testmain config load to viper & vala
2016-06-27 14:53:23 +10:00
Aaron L
fee1231813
Push strmangle refactoring through everything.
2016-06-22 23:48:49 -07:00
Aaron L
60f6080e73
Refactor dbdrivers into two packages
...
- Break dbdrivers into bdb and drivers
- Break each type in dbdrivers into it's own file set.
2016-06-22 23:11:32 -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
5fbcb27f3f
Fix 00_helper filename by truncating singletons.
...
- Also add better error output for when a formatting error occurs.
2016-06-19 22:22:23 -07:00
Aaron L
7c2a04ba4d
Clean up ridiculous amount of strmangle
2016-06-19 18:45:33 -07:00
Aaron L
8dd3eb72ed
Gitignore models
2016-06-19 17:30:19 -07:00
Aaron L
30ece150e7
Fix strmangle's AutoIncPrimaryKey function.
...
- It's test was also a dead unicorn of unhappiness.
2016-06-19 17:17:09 -07:00
Aaron L
c07d21cffc
Fix primary key detection.
2016-06-19 16:53:45 -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
Aaron L
2819c1c889
Fix some missing parallels
2016-06-19 14:50:35 -07:00
Aaron L
14a335cc99
Improve command error reporting & validation
2016-06-19 14:47:50 -07:00
Aaron L
a722998d40
Foreign keys were not being pulled properly
...
- Fix many comments.
2016-06-19 14:46:10 -07:00
Patrick O'brien
fc4efc782d
Finished Bind template test (added slice route)
2016-06-15 02:15:58 +10:00
Aaron L
b37c894925
Fix the sql that postgres driver uses
2016-06-14 07:53:36 -07:00
Aaron L
44cff02828
Correct main help output
2016-06-14 07:52:58 -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