Add more postgres support (#2080)

* reload the right data

More passing postgres tests

Handle schema updates, and $in for non array columns

remove authdata from user and implement ensureUniqueness

Make some tests work, detect existing classes

Throw proper error for unique index violation

* fix findOneAndUpdate
This commit is contained in:
Drew
2016-06-16 15:39:05 -07:00
committed by Peter J. Shin
parent 1a75101146
commit 0ff35e18f0
8 changed files with 194 additions and 127 deletions

View File

@@ -89,7 +89,7 @@ RestWrite.prototype.execute = function() {
return this.cleanUserAuthData();
}).then(() => {
return this.response;
});
})
};
// Uses the Auth object to get the list of roles, adds the user id