Uses rawCollection() for direct db access

Updated tests accordingly to changed access
This commit is contained in:
Peter Theill
2016-02-09 00:36:45 +01:00
parent 7733ab9625
commit 8b3f8751f4
5 changed files with 83 additions and 59 deletions

View File

@@ -78,7 +78,6 @@ function classNameIsValid(className) {
className === '_Session' ||
className === '_SCHEMA' || //TODO: remove this, as _SCHEMA is not a valid class name for storing Parse Objects.
className === '_Role' ||
className === '_GlobalConfig' ||
joinClassRegex.test(className) ||
//Class names have the same constraints as field names, but also allow the previous additional names.
fieldNameIsValid(className)