Commit graph

18 commits

Author SHA1 Message Date
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
Patrick O'brien b3230c2757 Fix insert with goto 2016-09-15 14:46:03 +10:00
Aaron L f803cdd6bd Fix all references to moved elements. 2016-09-14 21:02:24 -07:00
Patrick O'brien 1c28f761f1 Upsert fixed 2016-09-15 01:36:36 +10:00
Patrick O'brien 83f7092dc6 Add MySQL Upsert, fix identation in all tpls 2016-09-14 18:14:07 +10:00
Aaron L 912693a124 Update parameter generation for mysql 2016-09-12 23:28:23 -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
Patrick O'brien 793522650c Add lq, rq, and indexplaceholders args everywhere 2016-09-10 05:15:50 +10:00
Patrick O'brien 1c8a9d2e39 Add schema feature to everything (except rels)
* Add strmangle SchemaTable helper
2016-09-09 07:23:10 +10:00
Aaron L 22f67ab4ed Make sure to only write to cache when needed 2016-09-03 23:46:21 -07:00
Aaron L 0ebccdb20a Try and fix MySQL a little bit. 2016-09-03 12:50:31 -07:00
Aaron L acad9f7de5 Finish Insert() caching. 2016-09-03 12:47:27 -07:00
Aaron L 793306d749 Fit caching in to insert. 2016-09-03 12:24:18 -07:00
Patrick O'brien 09fb8005f6 Add TitleCase cache 2016-09-02 17:55: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
Renamed from templates/10_insert.tpl (Browse further)