Skip to content

Releases: OKNoah/final-orm

Alpha 6

16 Dec 15:02
9947cd6
Compare
Choose a tag to compare
Alpha 6 Pre-release
Pre-release

I may have fixed bug with sorting

Alpha 4

13 Nov 22:04
91afc68
Compare
Choose a tag to compare
Alpha 4 Pre-release
Pre-release

Fixes an injection bug. There are more injection bugs by the way. Don't use this in production.

Alpha 3

04 Sep 21:04
Compare
Choose a tag to compare
Alpha 3 Pre-release
Pre-release

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

30 Aug 05:27
Compare
Choose a tag to compare
Alpha.2 Pre-release
Pre-release
Merge pull request #5 from OKNoah/filter-removed

Filter out _removed items