You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi DBAL team, we're currently in the process of migrating our own database abstraction (MySQL/MariaDB and SQLite only) to Doctrine DBAL. While doing so, we noticed that we have some abstraction for functionality that differs between MySQL and SQLite, for which there is no method yet on the DBAL platform classes. We're wondering if you would accept PR's for these cases. They would be things like:
Syntax to use for INSERT IGNORE INTO (SQLite requires INSERT OR IGNORE INTO)
Syntax to use for ANALYZE TABLE (SQLite uses just ANALYZE)
Whether the database supports SELECT ... FOR UPDATE
Whether the database supports SELECT ... LOCK IN SHARE MODE
Whether the database supports UPDATE ... ORDER BY
Whether the database supports multi-row inserts
Syntax to use for LEAST/GREATEST (SQLite uses MIN/MAX)
Whether the database supports CONCAT_WS
Whether the database supports CREATE TABLE LIKE
Whether the database supports INSERT ... ON DUPLICATE KEY UPDATE
Whether the database supports UPDATE ... JOIN ...
If you'd welcome those, I will create separate issues/PR's for each of them. In general, against which branch would you like such PR's? Any guidelines or specific things to keep in mind when adding functionality to the platform layer?
The text was updated successfully, but these errors were encountered:
Feature Request
Summary
Hi DBAL team, we're currently in the process of migrating our own database abstraction (MySQL/MariaDB and SQLite only) to Doctrine DBAL. While doing so, we noticed that we have some abstraction for functionality that differs between MySQL and SQLite, for which there is no method yet on the DBAL platform classes. We're wondering if you would accept PR's for these cases. They would be things like:
INSERT IGNORE INTO(SQLite requiresINSERT OR IGNORE INTO)GROUP_CONCAT(MySQL usesGROUP_CONCAT(%s SEPARATOR %s), SQLite usesGROUP_CONCAT(%s, %s)) -> see Add getAggregateConcatExpression to platform #4041ANALYZE TABLE(SQLite uses justANALYZE)SELECT ... FOR UPDATESELECT ... LOCK IN SHARE MODEUPDATE ... ORDER BYLEAST/GREATEST(SQLite usesMIN/MAX)CONCAT_WSCREATE TABLE LIKEINSERT ... ON DUPLICATE KEY UPDATEUPDATE ... JOIN ...If you'd welcome those, I will create separate issues/PR's for each of them. In general, against which branch would you like such PR's? Any guidelines or specific things to keep in mind when adding functionality to the platform layer?
The text was updated successfully, but these errors were encountered: