Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any way to create blank parse class #117

Closed
samarthagarwal opened this issue Feb 1, 2016 · 4 comments
Closed

Any way to create blank parse class #117

samarthagarwal opened this issue Feb 1, 2016 · 4 comments

Comments

@samarthagarwal
Copy link

Hi. I was wondering if there is a way to create blank Parse classes like we have on the Parse Dashboard. Thanks.

@christianmarth
Copy link

You can use the Create Object API to create a new object, if the class doesn't exist it will be created for you

https://parse.com/docs/rest/guide/#objects-creating-objects

@samarthagarwal
Copy link
Author

What I am looking for is to create a class with no data in it.

@christianmarth
Copy link

This empty class will be populated with data in your application I assume so you can just use the client SDK to create the objects and if the class doesn't exist it will be created for you. From there you can perform CRUD operations on your new class, If you're looking for a dashboard you may want to follow Issue #3

@gfosco
Copy link
Contributor

gfosco commented Feb 2, 2016

So, what was likely occurring on the Parse dashboard, is that we created the _SCHEMA entry for a new class, but it wasn't actually 'created' unless you saved an object. I don't see any value in creating the collection empty here, but the dashboard will no doubt offer the same functionality, since it gets the collection list from the _SCHEMA.

@gfosco gfosco closed this as completed Feb 2, 2016
bernhardharrer pushed a commit to bernhardharrer/parse-server that referenced this issue Feb 22, 2017
Using ```/public/*``` instead of ```/assets/*```. Fixes issue parse-community#117
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants