Implement pointer types in postgres. (#2086)

* Support pointers in postgres

* implement count

* Fix bug in createClass
This commit is contained in:
Drew
2016-06-17 11:09:42 -07:00
committed by GitHub
parent ab06055369
commit 006540cda5
6 changed files with 37 additions and 17 deletions

View File

@@ -103,7 +103,7 @@ describe('InstallationsRouter', () => {
});
});
it_exclude_dbs(['postgres'])('query installations with count = 1', (done) => {
it('query installations with count = 1', done => {
var androidDeviceRequest = {
'installationId': '12345678-abcd-abcd-abcd-123456789abc',
'deviceType': 'android'
@@ -130,10 +130,14 @@ describe('InstallationsRouter', () => {
expect(response.results.length).toEqual(2);
expect(response.count).toEqual(2);
done();
});
})
.catch(error => {
fail(JSON.stringify(error));
done();
})
});
it_exclude_dbs(['postgres'])('query installations with limit = 0 and count = 1', (done) => {
it('query installations with limit = 0 and count = 1', (done) => {
var androidDeviceRequest = {
'installationId': '12345678-abcd-abcd-abcd-123456789abc',
'deviceType': 'android'