When running this code

sql.query("SELECT * FROM table", function(res, errorNo) {
    if (errorNo) Ape.log('Request error : ' + errorNo + ' : '+
this.errorString());
    else {
        Ape.log('Fetching ' + res.length);
        for(var i = 0; i < res.length; i++) {
            Ape.log(res[i].title);//res[i].<column name>
        });
    }
});

Do you have to somehow reset the res array to free memory or does
JavaScript just handle it for you

-- 
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/ape-project?hl=en
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/
Git Hub : http://github.com/APE-Project/

Reply via email to