Commit graph

22 commits

Author SHA1 Message Date
Aaron L
c07d21cffc Fix primary key detection. 2016-06-19 16:53:45 -07:00
Aaron L
a722998d40 Foreign keys were not being pulled properly
- Fix many comments.
2016-06-19 14:46:10 -07:00
Aaron L
b37c894925 Fix the sql that postgres driver uses 2016-06-14 07:53:36 -07:00
Aaron L
57e20dfd72 Fix some problems with viper setup.
- Fix error reporting throughout the executable side of the project.
2016-06-12 15:35:38 -07: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
a957bc3836 Changed From qmod to Table, added default values
* Added drivername to tplData
2016-04-26 19:27:00 +10:00
Patrick O'brien
ba8793ec1a Fixed quotating bug for primary keys 2016-04-24 15:33:05 +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
27cafdd2fb Finished most of the stripping 2016-03-28 01:03:14 +10:00
Aaron
109ff789ef Beginnings of key support 2016-03-22 23:20:04 -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
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
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
7539febd22 Added nullable struct types
* Added null.v3 import
2016-03-01 21:26:00 +10:00
Patrick O'brien
35380d6634 Added comments to all oustanding files
* Deleted unused test files
2016-02-24 19:17:58 +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