Releases: OKNoah/final-orm
Releases · OKNoah/final-orm
Alpha 6
I may have fixed bug with sorting
Alpha 4
Fixes an injection bug. There are more injection bugs by the way. Don't use this in production.
Alpha 3
Introduces "include" syntax for joins.
const posts = await Post.find({
include: {
model: User,
as: 'creator'
}
})
expect(posts[0]).toHaveProperty('creator.name')
This will use the creator
key in each Post to find a user and join it at creator
.
Alpha.2
Merge pull request #5 from OKNoah/filter-removed Filter out _removed items