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

Add Koa support #148

Merged
merged 2 commits into from
Jan 19, 2021
Merged

Add Koa support #148

merged 2 commits into from
Jan 19, 2021

Conversation

koresar
Copy link
Contributor

@koresar koresar commented Jan 19, 2021

Closes #84

This PR also explains in README.md how to add Agendash to Koa or Hapi servers.

@koresar koresar merged commit c14aaef into master Jan 19, 2021
@koresar koresar deleted the add-koa-support branch January 19, 2021 03:25

t.false('newJobs' in response.body);

const count = await agenda._collection.count({}, null);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that count() is deprecated (it's countDocuments() or something like that now), but it's not urgent.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's deprecated, but countDocuments() does not exist in the smallest MongoDB version we support - 2.6.

New in version 4.0.3.

@simison
Copy link
Member

simison commented Jan 22, 2021

Had a cursory look — all good!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants