jeudi 24 décembre 2015

Update multiple column with activeAndroid

I want to update multiple cell of single row with active android. some thing like this,

    new Update(Question.class).set("UserAnswer ="+answerID,"UserAnswerType = "+userAnswerType).where("QID = ?", questionID).execute();

but that will gives me error. is there any other way to do this? or am i missing something?

Aucun commentaire:

Enregistrer un commentaire