Commit graph

845 commits

Author SHA1 Message Date
Patrick O'brien
ecb20cca4a Added RandomizeSlice function 2016-06-10 12:09:48 +10:00
Patrick O'brien
1e412cec74 Added COUNT function to select query builder 2016-06-10 09:43:45 +10:00
Patrick O'brien
7aba7104a5 Fix null package imports, finish Bind
* Fix randomizeStruct time randomization
* Defer close sql.Rows
* Begin Delete test template
2016-06-08 15:45:34 +10:00
Patrick O'brien
a20574110c Added SortByKeys to insert 2016-06-07 17:08:00 +10:00
Patrick O'brien
d0b494600e Fixed BuildQuery test 2016-06-07 16:45:06 +10:00
Patrick O'brien
8a7926664c Removed null for null-extended
* Fixed broken RandomizeStruct test
2016-06-07 16:42:19 +10:00
Patrick O'brien
37a333f6ff Added SortByKeys
* Fixed slice allocations in strmangle helpers
* Removed duplicate commaList function
2016-06-07 16:21:00 +10:00
Patrick O'brien
4ad069f64d Finish BindAll implementation 2016-06-07 14:38:17 +10:00
Patrick O'brien
3e467f2329 Fixed some bugs, added GetSelect
* Begun BindAll, Bind and BindOne
2016-06-05 16:13:38 +10:00
Patrick O'brien
3152eed170 Added debug mode, test singles
* Where statement OR/AND support
* Added null-extended library to use different data types
* Added disable triggers function for test main
2016-06-03 07:07:51 +10:00
Patrick O'brien
c2541ea56e Begun implementing all tests
* Added randomizeStruct
* Added under development warning to readme
* Restructured the reflection stuff a bit
* Added a testmangle.go file for template test functions
2016-05-17 20:00:56 +10:00
Patrick O'brien
019ab3b502 Finished finishers 2016-05-10 20:20:29 +10:00
Patrick O'brien
8f3ff66339 Finished insert and update, added UpdateAt 2016-05-06 19:31:51 +10:00
Patrick O'brien
92e2608a1b Finished Update and UpdateX (needs make and copy)
* Added test for camelCaseCommaList
* Added function signature for UpdateAt and UpdateAtX
* Moved column type slices to helpers.tpl
2016-05-05 19:01:24 +10:00
Patrick O'brien
f1e8b21c0e Fixed most template compile errors
* Empty params still erroring the exec due to comma
2016-05-03 23:42:25 +10:00
Patrick O'brien
9ec4da2f8b Merge branch 'master' of github.com:pobri19/sqlboiler 2016-05-02 16:35:07 +10:00
Patrick O'brien
f059bdebf4 Finished insert template
* Removed functions in helpers not being used
2016-05-02 16:34:25 +10:00
Patrick (Barmboo) O'Brien
b45fa30e35 Removed all outdated readme references 2016-04-26 21:31:00 +10:00
Patrick O'brien
a957bc3836 Changed From qmod to Table, added default values
* Added drivername to tplData
2016-04-26 19:27:00 +10:00
Patrick O'brien
c17e48c14a Moved template functions to strmangle package
* Finished Find and FindX
2016-04-25 11:43:09 +10:00
Patrick O'brien
ba8793ec1a Fixed quotating bug for primary keys 2016-04-24 15:33:05 +10:00
Patrick O'brien
9c493810ec Finished most of delete functions
* Fixed some template errors
* Added IN helpers
2016-04-23 21:54:24 +10:00
Patrick O'brien
6d8706c07d Added execquery implementations 2016-04-20 23:03:33 +10:00
Patrick O'brien
2abe35e6f9 Moved Apply back to query mods
* Added tests for query file
2016-04-20 22:51:04 +10:00
Patrick O'brien
2fc2a36306 Begin query building
* Added golden fixtures
2016-04-19 15:31:07 +10:00
Patrick O'brien
dc50c0d42c Made qs package, added single templates support 2016-04-19 12:02:32 +10:00
Patrick O'brien
270fe59117 Fixed all template function signatures
* Added finisher function signatures
* Added VideoSlice type
* Added videoQuery type
2016-04-17 19:25:09 +10:00
Patrick O'brien
95d91f17f3 Added bind checkType function
* Added select and join querymod
2016-04-16 17:25:00 +10:00
Patrick O'brien
4b12c849fc Added some querymods
* Added finishers that are broken
* Added some template stuffs
* Added a TestTemplates file output line thingy
2016-04-16 15:17:25 +10:00
Patrick O'brien
d89d23e673 Began implementing the ORM prototype
* Hooks, query mods, and query
* Update and UpdateX
2016-04-13 23:51:58 +10:00
Patrick O'brien
d949f68ed0 Finished postgres TestMain template 2016-04-09 09:45:44 +10:00
Patrick O'brien
4955218373 Removed commented garbage, fixed test 2016-04-07 06:15:06 +10:00
Patrick O'brien
d3aeb7375d Added template sorter, MainTest separation
* Moved MainTests into a dedicated folder
* Added sorter for templates (sorts structs to top)
* Fixed all the broken tests
* Tidied up output.go functions
* Only creating one MainTest (main_test.go) per app run now
* Split test imports up into normal test imports & main test imports
2016-04-07 06:10:12 +10:00
Patrick O'brien
c84d35d394 Fixed compiler errors and broken tests 2016-04-04 20:28:58 +10:00
Patrick O'brien
8e0773b43e Added tests for interface 2016-04-03 18:02:41 +10:00
Patrick O'brien
0ffccde168 Refactored interface & added tests 2016-04-03 17:15:35 +10:00
Patrick O'brien
a7263bde40 Changed cmddata receiver names to single letter 2016-04-03 16:21:45 +10:00
Patrick O'brien
f76022c1f6 Removed things we don't need from TestTemplates 2016-04-03 16:08:02 +10:00
Patrick O'brien
dd5d643d4f Refactored init and fixed TestTemplates 2016-04-03 16:01:26 +10:00
Patrick O'brien
f7a4ed0c54 Did more stripping, fixed broken things
* Fixed broken template
* Did some reorganizing
* Need to fix TestTemplates test
2016-03-28 18:17:41 +10:00
Patrick O'brien
27cafdd2fb Finished most of the stripping 2016-03-28 01:03:14 +10:00
Patrick O'brien
c74ed4e75f Added drivername, custom driver imports
* Split main test based off driver name
2016-03-26 17:08:27 +10:00
Aaron
109ff789ef Beginnings of key support 2016-03-22 23:20:04 -07:00
Aaron
8aac8dc121 Fix a bunch of test errors. 2016-03-22 23:18:41 -07:00
Aaron
e348767e8a Use a table data structure, not names/columns.
- Load table information in one shot instead of over several different
  functions.
2016-03-22 22:05:23 -07:00
Aaron
c1cf2a30cd Rename file to match the types. 2016-03-22 21:26:15 -07:00
Aaron
1394489a63 Rename everything. 2016-03-22 21:25:57 -07:00
Patrick O'brien
48a9ba8d29 Added main template test file, fixed errors
* Fixed TestTemplates bug (now shows compile errors properly)
* Fixed all compile errors for templates (except test templates)
* Added conditional imports for column types
2016-03-23 13:08:35 +10:00
Patrick O'brien
3b0a5e80a1 Finished adding test template generation support 2016-03-21 15:15:14 +10:00
Patrick O'brien
e62b411547 Cleaned up config 2016-03-21 13:52:36 +10:00