jacob
jacob

Reputation: 129

How to delete a column in Parse.com using Swift

How do I delete a column in Parse using Swift? I am new to Parse. I have looked at the Parse documentation, but could not figure it. After trying many variations of the docs in my code nothing has worked. If it is not possible to delete a column, then how do I delete a row.

Upvotes: 2

Views: 512

Answers (1)

Clifton Labrum
Clifton Labrum

Reputation: 14068

In your example code, QuestionsandAnswers is an object, not a class.

If you really intend to delete a class, that is now possible with the Schema API that the Parse team just released: http://blog.parse.com/announcements/releasing-the-schema-api/

Here is the specific documentation for removing a class which you can do with cURL or Python: https://parse.com/docs/rest/guide#schemas

Good luck (and be careful). :)

Upvotes: 1

Related Questions