Comparing version 1.0.0-alpha.9 to 1.0.0-alpha.10
@@ -262,2 +262,16 @@ 'use strict'; | ||
expect(post.creator.name).toBe(username); | ||
}); | ||
test('complex query', async function () { | ||
var posts = await Post.findAndCount({ | ||
limit: 5, | ||
skip: 0, | ||
sort: 'createdAt DESC', | ||
include: { | ||
as: 'creator', | ||
where: { name: username } | ||
} | ||
}); | ||
expect(posts.data[0].creator.name).toBe(username); | ||
}); |
@@ -196,1 +196,15 @@ import dotenv from 'dotenv' | ||
}) | ||
test('complex query', async () => { | ||
const posts = await Post.findAndCount({ | ||
limit: 5, | ||
skip: 0, | ||
sort: 'createdAt DESC', | ||
include: { | ||
as: 'creator', | ||
where: {name: username} | ||
} | ||
}) | ||
expect(posts.data[0].creator.name).toBe(username) | ||
}) |
{ | ||
"name": "final-orm", | ||
"version": "1.0.0-alpha.9", | ||
"version": "1.0.0-alpha.10", | ||
"repository": { | ||
@@ -49,3 +49,3 @@ "type": "git", | ||
"arangojs": "^5.7.0", | ||
"arangolize": "^0.9.6", | ||
"arangolize": "^0.9.7", | ||
"core-decorators": "^0.20.0", | ||
@@ -52,0 +52,0 @@ "dotenv": "^4.0.0", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
99708
2621
Updatedarangolize@^0.9.7