1

I have a persistent store class. classname = Testdata

It has 10 columns.

I want to delete a column via the data browser dashboard. Lets say column 'Test1'.

In my code I want to test for the existence of this column.

ie.

If Testdata.Test1 exists do something else do something else

Any help much appreciated.

Many thanks, Guy

1 Answer 1

1

PFQuery has a method whereKeyExists:

https://parse.com/docs/ios/api/Classes/PFQuery.html#//api/name/whereKeyExists:

whereKeyExists:

Add a constraint that requires a particular key exists.

- (void)whereKeyExists:(NSString *)key

Parameters: key - The key that should exist.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.