-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Access mongo create schema in parse #4458
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
Comments
You should either create your collections through the parse API, or alter the _SCHEMA table to reflect your collection and fields. I would not recommend the latter as you may render your collection invalid. |
I think parse needs to allow pluggable mongodb transactional queries that would ease development and speed up apps. For example, increment document column field, with each entry, these are readily available features, and it would be great to implement these, Parse side, |
I’m not sure what you mean by that, but feel free to open a pull request/proposal. Mongodb doesn’t support transactions and if you’re referring to stored functions, that would entice a large refactoring which we’re not likely to take on. |
We use GitHub Issues for bugs.
If you have a non-bug question, ask on Stack Overflow or Server Fault:
If you have a vulnerability disclosure, please follow our policy available here https://github.com/parse-community/parse-server/blob/master/SECURITY.md
You may also search through existing issues before opening a new one: https://github.com/parse-community/parse-server/issues?utf8=%E2%9C%93&q=is%3Aissue
--- Please use this template. If you don't use this template, your issue may be closed without comment. ---
Issue Description
I am drynamically creating schema in mongodb and want it to show in parse, but it won't
Steps to reproduce
here is an example of how I create my schema:
db.createCollection ( "invoices", { capped : false, autoIndexId : true, //max : 0, validationLevel : "strict", validator : { $jsonSchema : { bsonType : "object", required : [ "customer", "company", "user", "date", "dateDue", "status", "terms" ] } } } );
Expected Results
I expect to have the schema showing in Parse and dashboard
Actual Outcome
Nothing shows dispite it showing in the mongodb collection list
Environment Setup
Server
Database
Logs/Trace
Include all relevant logs. You can turn on additional logging by configuring VERBOSE=1 in your environment.
The text was updated successfully, but these errors were encountered: