[Gravity] Add simple auto-escaping query builder for MySQL.

Review Request #122 — Created June 25, 2013 and submitted

pprkut
Lunr
pprkut:escapecleanup
121
126
lunr
This adds a simple DML query builder for MySQL that escapes input according to certain expectations accordingly. That way we end up with a rather limited query builder, which is however easier to use in the common use cases. The overall feel would be very much like the builder we had in the internal 0.1 release. Now however we don't restrict ourselves since if we need to use less common constructs we can always do the escaping ourselves and use the complex query builder.

Note: This also changes the connection class to return the simple query builder by default now so look out when porting from 0.2alpha1 code.
Unit tests
dinos
  1. Ship It!
  2. 
      
pprkut
Review request changed

Status: Closed (submitted)

Change Summary:

Merged into master
Loading...