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

enable exact search on module name on event search #74

Merged
merged 8 commits into from
Mar 3, 2022

Conversation

emmanueldenloye
Copy link
Contributor

@emmanueldenloye emmanueldenloye commented Feb 11, 2022

this pr consists of two important parts:

  1. add index to speed up this search
  2. add equality condition (based on module name) to event search query

this commit consists of two important parts:

1. add index to speed up this search
2. add equality condition (based on module name) to event search query
@@ -61,7 +61,7 @@ data MigrateStatus = RunMigration | DontMigrate
deriving (Eq,Ord,Show,Read)

data Args
= Args Command Connect UrlScheme Url LogLevel MigrateStatus
= Args Command Connect UrlScheme Url LogLevel MigrateStatus Bool
Copy link
Contributor

Choose a reason for hiding this comment

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

We should be able to avoid this extra Bool by using --log-level debug to turn on query printing.

@emmanueldenloye emmanueldenloye merged commit 57b11d3 into master Mar 3, 2022
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