pounard / goat-query

Goat SQL query builder built over a PHP to SQL and SQL to PHP type converter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Implement driver versionning

pounard opened this issue · comments

Before today, this was not necessary because we had only SQL writer implementation for each RDMS vendor, but now, we have 2 for MySQL, thanks to MERGE implemention. So here is what to be implemented:

  • one PHPUnit test runner per version,
  • read RDMS version on connection init, or force it by configuration (parameter such as &version=57 for example),
  • spawn services depending upon version.

Still needs documentation, but code is here and unit-tested.