Commit graph

931 commits

Author SHA1 Message Date
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
Patrick O'brien
775c5ba369 Fix IdentQuote bug, add Reload helpers 2016-08-02 20:00:00 +10:00
Aaron L
9a5742eeea Use query generation for relationship_to_one
- This allows the use of query mods
2016-08-01 20:38:32 -07:00
Patrick O'brien
fb8540af1a Change to IdentQuote, add IdentQuote to Select QM 2016-08-02 13:25:02 +10:00
Patrick O'brien
b171fd42ba Add smart quote helper 2016-08-02 12:55:40 +10:00
Patrick O'brien
65b80ddc13 Merge branch 'master' of github.com:nullbio/sqlboiler 2016-08-01 17:42:23 +10:00
Patrick O'brien
01228b4e26 Add stack implementation for SmartQuote 2016-08-01 17:41:52 +10:00
Aaron L
1cb57741cf Change default ints to int not int32
- THANKS PATRICK
2016-07-31 22:50:33 -07:00
Patrick O'brien
a3ea7a3c0c Merge branch 'master' of github.com:nullbio/sqlboiler 2016-08-01 15:12:08 +10:00
Patrick O'brien
2d732c727a Remove X funcs and add G funcs 2016-08-01 15:10:10 +10:00
Aaron L
757aaf3a4d Fix tests for uuid string types 2016-07-31 21:56:49 -07:00
Aaron L
735012c4e9 Add optional password-ability to tests 2016-07-31 21:24:33 -07:00
Aaron L
fd7cb01b89 Add an order by query 2016-07-31 21:05:03 -07:00
Aaron L
4735ce993c Fix some latent renames 2016-07-31 20:57:09 -07:00
Aaron L
1eade96bcd Fix query string building a little bit 2016-07-31 20:29:39 -07:00