Aaron L
d999c7b4d7
Fix failing test.
...
- Let's not be smart about renames in Bind(), just do the normal thing
and bind to whatever the user's asked us to.
2016-08-08 00:20:19 -07:00
Aaron L
fd569fac7c
Fix to_many tests.
2016-08-08 00:17:36 -07:00
Patrick O'brien
342038f288
Fix circleCI error reporting
2016-08-08 17:03:21 +10:00
Patrick O'brien
a073752df2
Remove duplicates from insert whitelist
2016-08-08 16:59:54 +10:00
Aaron L
1c7ad18ab1
Fix previous edit mistake
2016-08-07 23:37:05 -07:00
Aaron L
44cf647d05
Rewrite Find using normal sql
2016-08-07 23:36:11 -07:00
Aaron L
444153222b
Use the new bind in all templates
2016-08-07 23:07:15 -07:00
Aaron L
989bece6b3
Restore Exec/One/All
2016-08-07 18:16:34 -07:00
Aaron L
b3ba8462d9
Fix inner join query mod
2016-08-07 18:12:13 -07:00
Aaron L
113754d38b
Finish bind tests
...
- One test failing because lack of idMap usage
2016-08-07 18:07:37 -07:00
Aaron L
ee2b4e7990
Rewrite bind.
...
- Break bind down into separate functions
- Implement naming inference in bind for multiple tables
- Make One and All take the same code path mostly
2016-08-07 18:07:37 -07:00
Aaron L
1236072f05
Fix struct tags for bind
2016-08-07 18:07:37 -07:00
Aaron L
1ba2333658
Add test for a query with writeStars
2016-08-07 18:07:37 -07:00
Aaron L
6596868cb8
Change join structure to truly support any join
...
- Also normalize the "," vs ", " in query generation
2016-08-07 18:07:37 -07:00
Aaron L
162746526c
Add min/max/sum/avg to the query gen
2016-08-07 18:07:37 -07:00
Aaron L
5541b4dce9
Reorganize things before tearing apart
2016-08-07 18:07:37 -07:00
Aaron L
8298da6f48
Refactor GetStructPointers
2016-08-07 18:07:37 -07:00
Patrick O'brien
7977cf1721
Merge branch 'master' of github.com:nullbio/sqlboiler
2016-08-08 09:34:26 +10:00
Patrick O'brien
15ea874a75
Add SnakeCase
2016-08-08 09:34:11 +10:00
Aaron L
7d3e89e25c
Revert awful change to README (but keep link)
...
- THANKS PATRICK
2016-08-06 08:35:49 -07:00
Patrick O'brien
c533c90aed
Update circle badge on readme
2016-08-06 21:51:04 +10:00
Aaron L
307fe4919a
Add parsing routine for SQL from/join statements
...
- Bonus: Add yaml/toml struct tags for models
2016-08-05 23:51:13 -07:00
Aaron L
2d608c4e17
Correct the problems with to_one
2016-08-05 22:19:49 -07:00
Aaron L
ac549c9207
Make sqlboiler respect environment
...
- Stop failing on config file load, use the validation in the test
config stuff.
2016-08-05 22:15:18 -07:00
Patrick O'brien
1839b9fa03
Update readme to add circleci badge
2016-08-05 15:31:56 +10:00
Patrick O'brien
f563c59234
Add circle file and test schema
2016-08-05 15:20:31 +10:00
Patrick O'brien
b1b0607123
Fix template errors
2016-08-05 15:04:00 +10:00
Patrick O'brien
feb85a2a44
Finish upsert and upsert tests
...
* Fix find bug in query generator
2016-08-05 12:59:40 +10:00
Patrick O'brien
8a3a08baa0
Finish upsert, most of upsert tests
...
* Fix Upsert hooks
* Rename singleton template files
2016-08-05 00:26:39 +10:00
Patrick O'brien
8dbf322754
Add Update back for UpdateAll
2016-08-05 00:26:39 +10:00
Patrick O'brien
70b2dcfbb2
Boilerplate for upsert
2016-08-05 00:25:35 +10:00
Patrick O'brien
358dac851f
Add upsert file and renamed file numbers
2016-08-05 00:22:53 +10:00
Aaron L
f98ff568fb
Remove unused fields
2016-08-03 22:44:57 -07:00
Aaron L
535c86bca0
Use query mods for to_many
2016-08-03 22:36:08 -07:00
Aaron L
a1b14f4eae
Fix struct tag generation.
...
- Clean up template
2016-08-03 22:34:46 -07:00
Aaron L
9503acaf8e
Missed some compilation errors
2016-08-03 22:28:04 -07:00
Aaron L
1a1a025b58
Add append versions of boil query helpers
2016-08-03 22:22:17 -07:00
Aaron L
48e14f4fd8
Add multiple from statements.
2016-08-03 21:50:26 -07:00
Aaron L
01124d9d0b
Add IdentQuoteSlice
2016-08-03 21:46:58 -07:00
Aaron L
0008aa0495
Fix test.sqldebug flag
2016-08-03 21:37:59 -07:00
Patrick O'brien
ed2c5e407d
Fix insert and update whitelist generators
2016-08-04 13:55:25 +10:00
Aaron L
b8b44eba98
Document generateInsertColumns properly.
2016-08-03 20:52:43 -07:00
Aaron L
7abeba46f9
Redo the update inference docs
2016-08-03 20:38:23 -07:00
Aaron L
4a90e726db
Fixed up documentation.
2016-08-03 20:23:55 -07:00
Aaron L
20fe91c398
Make identquote understand *
2016-08-03 19:19:09 -07:00
Patrick O'brien
964f367700
Add Exists feature
2016-08-03 20:23:43 +10:00
Patrick O'brien
0a2507178e
Fix silly regexp pattern
2016-08-03 15:31:59 +10:00
Patrick O'brien
afedc92224
Change Enforced to Validated
2016-08-03 14:22:32 +10:00
Patrick O'brien
c7c0fe5c0d
Add provision for enforced types, eg uuid
...
* Add enforced to column data
* Add enforced list to driver
* Fix bug in TitleCase (now uses regexp)
* Fix broken zero-value enforced type inserts by using RandomizeEnforcedStruct
2016-08-03 12:05:05 +10:00
Patrick O'brien
39fe91f2cb
Add RandomizeEnforcedStruct
...
* Fix broken Select QM test
2016-08-03 10:53:34 +10:00