Commit graph

887 commits

Author SHA1 Message Date
Patrick O
12458d97fd Merge pull request #35 from nguyendangminh/master
Correct command in README
2016-09-15 20:57:31 +10:00
Patrick O
d21ba9b592 Change -x command to -b 2016-09-15 20:55:09 +10:00
Nguyen Dang Minh
884bc9f501 Correct command
Error: unknown shorthand flag: 'x' in -x
2016-09-15 17:37:46 +07:00
Patrick O'brien
65dd15de09 Merge branch 'dev' 2016-09-15 19:52:44 +10:00
Patrick O'brien
40ce5838f3 Fix hstore naming 2016-09-15 16:58:41 +10:00
Aaron L
c249cf49d0 Fix Boris' name in the README.
- Fix table formatting
- Remove section for MySQL vs Postgres config for global options
- Fix path to Bind after refactor.
2016-09-14 23:33:18 -07:00
Aaron L
de7ba2fa8e Clean up the reflect tests. 2016-09-14 23:20:42 -07:00
Aaron L
f6323d5ebe Delete unused code 2016-09-14 23:06:06 -07:00
Aaron L
09eeef63af Optimize upsert. 2016-09-14 23:06:06 -07:00
Patrick O'brien
78de983d7d Fix calls to Raw and RawG 2016-09-15 15:13:09 +10:00
Patrick O'brien
0abfe1cba6 Fix upsert if else 2016-09-15 14:59:48 +10:00
Patrick O'brien
b3230c2757 Fix insert with goto 2016-09-15 14:46:03 +10:00
Patrick O'brien
e52fac9c5e Fix indentation 2016-09-15 14:27:06 +10:00
Patrick O'brien
01f08efe8a Fix lint errors for generated package 2016-09-15 14:21:33 +10:00
Aaron L
f803cdd6bd Fix all references to moved elements. 2016-09-14 21:02:24 -07:00
Aaron L
12967f7b66 Fix up the interface to raw queries. 2016-09-14 20:58:18 -07:00
Aaron L
5149df8359 Move everything to better package structure 2016-09-14 20:45:09 -07:00
Patrick O'brien
f6b4d3c6fd Rename exec funcs to conform to sql stdlib 2016-09-15 02:14:30 +10:00
Patrick O'brien
702bb2095e Don't output the schema 2016-09-15 01:45:28 +10:00
Patrick O'brien
1c28f761f1 Upsert fixed 2016-09-15 01:36:36 +10:00
Patrick O'brien
7d377f42ae Update readme 2016-09-14 20:42:20 +10:00
Patrick O'brien
7ce5ac18ac Add P versions of query exec funcs
- Update readme
2016-09-14 19:42:07 +10:00
Patrick O'brien
931f3d2de5 Fix mock driver compat with upsert 2016-09-14 18:27:20 +10:00
Patrick O'brien
83f7092dc6 Add MySQL Upsert, fix identation in all tpls 2016-09-14 18:14:07 +10:00
Aaron L
4f1565147a Fix indentation 2016-09-13 21:57:34 -07:00
Aaron L
e5edef144b Fix up postgres main just like mysql 2016-09-13 21:46:58 -07:00
Aaron L
a86e794b61 Fix composite primary keys for DeleteAll 2016-09-13 17:20:13 -07:00
Patrick O'brien
91bb5ee940 Change Exec funcs to methods with Query receiver 2016-09-13 19:46:32 +10:00
Aaron L
1facccacc1 Fix an edge case for MySQL
- This patch removes auto-generation of queries that have the pattern
  COUNT(tablename.*) which is a syntax error in mysql.
2016-09-13 00:48:14 -07:00
Aaron L
468e2f9ad3 Fix default values in mysql driver 2016-09-13 00:28:00 -07:00
Aaron L
b1e8816d42 Fix update all 2016-09-12 23:49:18 -07:00
Aaron L
912693a124 Update parameter generation for mysql 2016-09-12 23:28:23 -07:00
Aaron L
76b75dfaaa Remove foreign keys from mysql dump 2016-09-12 22:43:29 -07:00
Aaron L
f1f311b70f Add DB name stuff to randomize package 2016-09-12 22:43:09 -07:00
Aaron L
1b5cea823f Get mysql tests running.
- Needs disabling of Foreign Key constraints + upsert deletion to have a
  chance of working.
2016-09-11 23:50:11 -07:00
Aaron L
37a05de380 Fix a mistake in the insert query 2016-09-11 23:50:11 -07:00
Aaron L
8392a4ba2a Fix quoting throughout templates
- Use "" style strings for all templates
- Attach a Quote and SchemaTable that understand escaped quotes so we
  can use "" style strings without repercussion.
- Make SchemaTable use escaped quotes
- Remove schemaTable from the templates in favor of .SchemaTable
2016-09-11 23:50:11 -07:00
Aaron L
d183ec4bb5 Postgres works again after refactor 2016-09-11 23:50:11 -07:00
Aaron L
d1ea925523 Fix bug in debug output 2016-09-11 23:50:11 -07:00
Aaron L
9d29d2b946 Refactor all the bits.
- Make TestMain be driver-based
- Move config to TestMain file
- Make config a little more sane in pgmain
2016-09-11 23:50:11 -07:00
Patrick O'brien
9bcaf51493 Fix randomize for all array types, remove generic
* GenericArray can't work with generated code.
* Multi-dimensional arrays can't work because
  PSQL does not have a method to discover array
  depth.
2016-09-12 07:22:17 +10:00
Patrick O'brien
e62dfe369f Add array types and hstore types 2016-09-12 03:40:59 +10:00
Patrick O'brien
a1f91416f9 Add link to project page 2016-09-11 13:02:54 +10:00
Patrick O'brien
793522650c Add lq, rq, and indexplaceholders args everywhere 2016-09-10 05:15:50 +10:00
Patrick O'brien
f14301de7b Add things to shut tests up 2016-09-10 03:35:32 +10:00
Patrick O'brien
419f2760c7 Change quotes to bytes 2016-09-10 03:30:46 +10:00
Patrick O'brien
9e6a3d5ee3 Add quote dialects 2016-09-10 03:14:18 +10:00
Patrick O'brien
817189fbfd Fixed outstanding failed tests 2016-09-10 01:06:07 +10:00
Patrick O'brien
ac02f7d2e0 Fix broken relationship templates by adding schema 2016-09-09 22:31:51 +10:00
Patrick O'brien
51b4f9b309 Fix superfluous arg to placeholders 2016-09-09 17:57:01 +10:00