SORU
21 ŞUBAT 2012, Salı


&Quot;sözdizimi eşit değil" SQLite nedir?

 Cursor findNormalItems = db.query("items", columns, "type=?", 
                                   new String[] { "onSale" });

Satışta OLMAYAN bir şeye işaret eden bir imleç dönmek istiyorum, ben değiştirmek gerekir? Teşekkürler!

CEVAP
21 ŞUBAT 2012, Salı


the official documentation:

Sigara eşittir operatörü ya da != <> olabilir

Kodunuz oluyor:

Cursor findNormalItems = db.query("items", columns, "type != ?", 
                                  new String[] { "onSale" });   

Bunu Paylaş:
  • Google+
  • E-Posta
Etiketler:

YORUMLAR

SPONSOR VİDEO

Rastgele Yazarlar

  • David Wills

    David Wills

    31 Aralık 2007
  • Epic Tutorials for iPhone, iPad and iOS

    Epic Tutoria

    18 EYLÜL 2011
  • New Scientist

    New Scientis

    27 Kasım 2006