dimanche 28 juin 2015

IN SQL condition in Sugar ORM

I'd like to execute SQL statement like this:

SELECT * FROM arr1 WHERE name IN ('arg1', 'arg2', 'arg3');

in SugarORM, but I've no idea how use IN statement in this library. Documentation is really modest. I don't want to use OR beacuse args list may be long.

Aucun commentaire:

Enregistrer un commentaire