objective c - parse.com how can I test if a column exists in a parse data class iOS -



objective c - parse.com how can I test if a column exists in a parse data class iOS -

i have persistent store class. classname = testdata

it has 10 columns.

i want delete column via info browser dashboard. lets column 'test1'.

in code want test existence of column.

ie.

if testdata.test1 exists else else

any help much appreciated.

many thanks, guy

pfquery has method wherekeyexists:

https://parse.com/docs/ios/api/classes/pfquery.html#//api/name/wherekeyexists:

wherekeyexists:

add constraint requires particular key exists.

- (void)wherekeyexists:(nsstring *)key

parameters: key - key should exist.

ios objective-c parse.com

Comments

Popular posts from this blog

formatting - SAS SQL Datepart function returning odd values -

c++ - Apple Mach-O Linker Error(Duplicate Symbols For Architecture armv7) -

php - Yii 2: Unable to find a class into the extension 'yii2-admin' -