Patrick O'brien
6c13b63500
Fix non-int comparisons
2016-09-17 13:13:44 +10:00
Aaron L
b0b0ff87c6
Fix MySQL return query optimization.
...
- Before, this could erroneously detect that it could do without the
return query because it thought all we wanted was the id. Now with
this fix it should properly discard the query when all we want is id.
2016-09-15 22:28:23 -07:00
Aaron L
bac82b6f0e
Correct caching for upserts with no returns
...
- Previously it would return early, and therefore no caching was being
performed since it would never write to the cache.
2016-09-15 22:17:37 -07:00
Aaron L
440e3a1343
Fix cache keying for upsert
...
- Previously the non-zero default columns were not taken into account
and therefore this cached too aggressively.
2016-09-15 22:08:45 -07:00
Aaron L
09eeef63af
Optimize upsert.
2016-09-14 23:06:06 -07:00
Patrick O'brien
0abfe1cba6
Fix upsert if else
2016-09-15 14:59:48 +10:00
Aaron L
f803cdd6bd
Fix all references to moved elements.
2016-09-14 21:02:24 -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
1c28f761f1
Upsert fixed
2016-09-15 01:36:36 +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
Patrick O'brien
793522650c
Add lq, rq, and indexplaceholders args everywhere
2016-09-10 05:15:50 +10:00
Aaron L
acad9f7de5
Finish Insert() caching.
2016-09-03 12:47:27 -07:00
Patrick O'brien
09fb8005f6
Add TitleCase cache
2016-09-02 17:55:16 +10:00
Patrick O'brien
8f6191c4d2
Move buildUpsertQuery to boil
2016-09-01 11:20:16 +10:00
Patrick O'brien
e33da59f0b
Update hook names
2016-09-01 11:12:46 +10:00
Aaron L
79d8642d8d
Put setops into their final resting place.
2016-08-29 22:58:55 -07:00