Closed ThomasLobker closed 2 years ago
This is unfortunately not really supported out of the box, and due to recent highlights of the insecurity of magical formatting based on the input type, it is unlikely to be added to this module. I would recommend looking in to a full-feature SQL builder module like https://hiddentao.github.io/squel/v4/index.html
If you have complex queries and you want to
INSERT
from aSELECT
query, then you need to be able to set aSELECT
list like this:What is currently the best way to create such a
SELECT
list from an object? The following statement does not work in this scenario and creates akey = value
list: