How would I go about executing the following query using XPDO?
SELECT * INTO OUTFILE 'path/to/file.csv'
FIELDS TERMINATED BY ',' ENCLOSED BY '\"' ESCAPED BY '\\'
FROM myCustomTable
I have the object for the table and most of the CRUD in a cmp working happily. However I need to be able to save data to a csv file on the server. I' struggling with a few more queries but I'm hoping with an answer to this one I'll be able to sort those out myself.
I have looked through the xPDO documentation including xPDOQuery and xPDOManager but I can't see how to do this.
[ed. note: fetchall last edited this post 14 years, 3 months ago.]
Thank you very much,... sooo simple. Don't know why I couldn't find that myself.