WordPress/sqlite-database-integration

Support GROUP_CONCAT

tbradsha opened this issue · 1 comments

The common basic usage is fairly simple to translate:

  • MySQL (docs): GROUP_CONCAT( field_name SEPARATOR 'some_separator' )
  • SQLite (docs): GROUP_CONCAT( field_name, 'some_separator' )

Technically the MySQL implementation is has more options, but I suspect the above covers the majority of uses.

This should be similar to rewriting the INTERVAL keyword

private function translate_interval( $token ) {