mardi 15 septembre 2015

Update Query In Content Provider

I want to use Limit and Order By "abc" DESC in Query , i am not finding solution

BuyActivity.this
            .getContentResolver()
                          .update(LearnBirdContactClass.LearbirdTable.SUB_CAT_URI_CONTENT_URI,
                                    contentValuessubcat,
                                    LearnBirdContactClass.SubCategortyTableColumns.CAT_ID
                                            + " = ? AND "
                                            + LearnBirdContactClass.SubCategortyTableColumns.SUB_CAT_ID
                                            + " = ?", new String[] { catId, });

How to add limit and Order By in this

Thanks

Aucun commentaire:

Enregistrer un commentaire