mardi 6 janvier 2015

Sugar ORM SUM a column

Does anyone know if it is possible to sum a column using Sugar ORM? I've tried to find any documentation, and there is a raw query method, however, the raw query method does not have any returning values.


Example: "select sum(price) from atable"


Class.executeQuery() is void.


Sugar ORM does not seem very usable until this kind of features (along with JOIN etc) are present.


Aucun commentaire:

Enregistrer un commentaire