Commit graph

29 commits

Author SHA1 Message Date
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 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 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 dc50c0d42c Made qs package, added single templates support 2016-04-19 12:02:32 +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 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 a7263bde40 Changed cmddata receiver names to single letter 2016-04-03 16:21:45 +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 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 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
Aaron 8a591ecdd6 More swaths of renaming awkward structs. 2016-03-01 20:05:25 -08:00
Aaron 80e03dc3f7 Fix DBTable 2016-03-01 07:53:56 -08:00
Patrick O'brien 9eb087be80 Added folder flag and import flag
* Generates files into specified folder
* Changed the order in which things are generated
2016-03-02 00:20:13 +10: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 241cac7d67 Added comments to init sqlboiler funcs 2016-02-29 20:42:51 +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
Patrick O'brien 99ef15ddb5 Slightly change readme, add "mandatory" to -d flag 2016-02-25 10:20:39 +10:00
Patrick O'brien 47c5be1038 Removed unused test files, added comments to cmds
* Added comments to all cmds files
* Removed unused test files
* Removed unimplemented command 'update'
2016-02-24 18:53:34 +10:00
Patrick O'brien 2ea3239ad1 Added all command, added output file flag 2016-02-24 15:40:07 +10:00
Patrick O'brien b43f9c63d8 Struct generation complete, pipes to stdout
* Database driver config & flag complete
* Table flag complete, will use all tables if non specified
2016-02-23 18:27:32 +10:00