Commit graph

35 commits

Author SHA1 Message Date
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
f059bdebf4 Finished insert template
* Removed functions in helpers not being used
2016-05-02 16:34:25 +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
2abe35e6f9 Moved Apply back to query mods
* Added tests for query file
2016-04-20 22:51:04 +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
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
c84d35d394 Fixed compiler errors and broken tests 2016-04-04 20:28:58 +10:00
Aaron
8aac8dc121 Fix a bunch of test errors. 2016-03-22 23:18:41 -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
9d41861e90 Added Update commands 2016-03-19 16:22:10 +10:00
Patrick O'brien
54f6e43370 Added primary key flag to column data
* Added delete method attached to object
* Added primary key related template helper functions
2016-03-19 01:27:55 +10:00
Patrick O'brien
2f9c936c6a Added inflection library, fixed all templates
* Added inflection to all templates
* Fixed broken template code (for the most part)
2016-03-18 21:26:48 +10:00
Patrick O'brien
b7ab642732 Fixed all file indentation 2016-03-17 12:59:56 +10:00
Patrick O'brien
58414106a2 Fixed and renamed templates, added package names 2016-03-17 00:33:58 +10:00
Patrick O'brien
0768a89aa6 Added helpers, select to DB interface and renames
* Added select and where helpers for the templates
  - These run at run time

* Added select to the boil DB interface
* Renamed some of the broken template names and fixed some templates
2016-03-16 17:04:26 +10:00
Aaron
8a591ecdd6 More swaths of renaming awkward structs. 2016-03-01 20:05:25 -08:00
Aaron
64ec06b4b4 Rename some functions.
- Use more efficient implementation of the template funcs.
2016-03-01 08:34:57 -08:00
Aaron
80e03dc3f7 Fix DBTable 2016-03-01 07:53:56 -08:00
Patrick O'brien
195e8d16e8 Broke up all commands into individual templates.
* Added bunch of new command names and descriptions.
* Changed "all" command to "boil", so we can use "all"
  for the name of the all database select helper.
2016-02-29 21:45:28 +10: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