sqlite-database-integration
sqlite-database-integration copied to clipboard
Support GROUP_CONCAT
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 https://github.com/WordPress/sqlite-database-integration/blob/8a4efbecf652a2ee3c5facd31ba0542b0d397c13/wp-includes/sqlite/class-wp-sqlite-translator.php#L2213