0
我將一個非常舊的查詢從SQL轉換爲DQL,部分查詢看起來相當混亂,但需要完成。DQL中的equivilent語法:將部分sql查詢轉換爲DQL(Doctrine 1.2)
SELECT......
substr(content, locate('s:7:\"country\";s:', content) +19,
right(substr(content,
locate('s:7:\"country\";s:', content) , 17) , 1)) AS country_code,
是否可以將其轉換爲DQL?我不是指實際轉換工具,但在DQL
謝謝,但我不知道這是怎麼幫助的正是...從什麼是看到它是DQL到SQL轉換(其他方式):) – Confidence
@Confidence你也可以參考這個http://stackoverflow.com/questions/11351563/how-to-translate-this-sql-query-to -dql – SRIRAM