Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: allow using options object in EntityManager.find() #14

Merged
merged 1 commit into from
Mar 1, 2019

Commits on Feb 28, 2019

  1. feat: allow using options object in EntityManager.find()

    EM and EntityRepository now supports providing options in object:
    
    ```
    const books = await booksRepository.find({ author: '...' }, {
      populate: ['author'],
      limit: 1,
      offset: 2,
      sort: { title: QueryOrder.DESC },
    });
    ```
    Martin Adamek committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    e5abcfd View commit details
    Browse the repository at this point in the history